-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the LuaJIT platform profiler #2587
Comments
SysprofThe default profiling options for LuaJIT are not fine enough to get an understanding of performance. For example, perf only able to show host stack, so all the Lua calls are seen as single pcall. Oppositely, the The C APIConfiguration:
All of the functions return 0 on success and an error code on failure. The configuration types are:
Profiler options are the following:
Profiling modes:
Counters structure for the
Caveats:
The Lua API
First two functions return boolean
Parameter
Mode MUST be provided always, ParsersThe default profile data parser is provided. Its output is flamegraph.pl-suitable,
|
Пример использования
|
А что насчёт подробностей в ошибках? |
Эта ошибка говорит о некорректно введенных параметрах, либо о том, что у вас сборка без sysprof. |
Ну то есть в стандартном докер образе тарантула отсутствует sysprof? Чтож, звучит печально. Особенно на фоне того, что gperftools там все таки присутствует. |
@mkokryashkin, consider adding |
Introduce a new document on LuaJIT platform profiler * LuaJIT platform profiler is a new feature implemented in Tarantool 2.10.0. The document describes the profiler's behavior as of this and next Tarantool versions. * The document is placed in the Tooling chapter. Closes #2587
Introduce a new document on LuaJIT platform profiler * LuaJIT platform profiler is a new feature implemented in Tarantool 2.10.0. The document describes the profiler's behavior as of this and next Tarantool versions. * The document is placed in the Tooling chapter. Closes #2587
Introduce a new document on LuaJIT platform profiler * LuaJIT platform profiler is a new feature implemented in Tarantool 2.10.0. The document describes the profiler's behavior as of this and next Tarantool versions. * The document is placed in the Tooling chapter. Closes #2587
Introduce a new document on LuaJIT platform profiler * LuaJIT platform profiler is a new feature implemented in Tarantool 2.10.0. The document describes the profiler's behavior as of this and next Tarantool versions. * The document is placed in the Tooling chapter. Closes #2587
Introduce a new document on LuaJIT platform profiler * LuaJIT platform profiler is a new feature implemented in Tarantool 2.10.0. The document describes the profiler's behavior as of this and next Tarantool versions. * The document is placed in the Tooling chapter. Closes #2587
Introduce a new document on LuaJIT platform profiler * LuaJIT platform profiler is a new feature implemented in Tarantool 2.10.0. The document describes the profiler's behavior as of this and next Tarantool versions. * The document is placed in the Tooling chapter. Closes #2587
Introduce a new document on LuaJIT platform profiler * LuaJIT platform profiler is a new feature implemented in Tarantool 2.10.0. The document describes the profiler's behavior as of this and next Tarantool versions. * The document is placed in the Tooling chapter. Closes #2587
Product: Tarantool
Since: 2.10
Root document: TBD (a new section/page for a new document)
Dev issue: tarantool/tarantool#4001 , tarantool/tarantool#781
SME: @ igormunkin , @ fckxorg
Details
TBD
The text was updated successfully, but these errors were encountered: