Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit v1 0/4] memprof: enrich symtab when meeting new prototype
@ 2021-08-21 12:49 Mikhail Shishatskiy via Tarantool-patches
  2021-08-21 12:49 ` [Tarantool-patches] [PATCH luajit v1 1/4] " Mikhail Shishatskiy via Tarantool-patches
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mikhail Shishatskiy via Tarantool-patches @ 2021-08-21 12:49 UTC (permalink / raw)
  To: tarantool-patches, imun, skaplun

Here the results of benchmark [1] for introduced patchset.
The time is average for 15 runs:

| -------------------------------------- |
|            JIT-off, memprof-on         |
| -------------------------------------- |
|       BEFORE       |       AFTER       |
| ------------------ | ----------------- |
| 5.3859 (0.0325)    | +0.2534 (0.0248)  |
| -------------------------------------- |

BEFORE branch: https://github.com/tarantool/luajit/tree/shishqa/gh-5679-report-jit-allocations-as-internal

[1]: https://gist.github.com/Shishqa/94152d538816fc64b68200336e6305d3

Issue: https://github.com/tarantool/tarantool/issues/5815
Branch: https://github.com/tarantool/luajit/tree/shishqa/gh-5815-enrich-symtab-when-prototype-is-allocated
Tarantool branch: https://github.com/tarantool/tarantool/tree/shishqa/gh-5815-enrich-symtab-when-prototype-is-allocated

Mikhail Shishatskiy (4):
  memprof: enrich symtab when meeting new prototype
  memprof: demangle symbols on the spot
  memprof: substitute long proto names with aliases
  luajit: change order of modules

 src/lj_bcread.c                               |   1 +
 src/lj_memprof.c                              |  19 +++-
 src/lj_memprof.h                              |  16 ++-
 src/lj_obj.h                                  |   7 ++
 src/lj_parse.c                                |   1 +
 .../misclib-memprof-lapi.test.lua             | 102 +++++++++++++-----
 tools/memprof.lua                             |   5 +-
 tools/memprof/humanize.lua                    |  51 +++++++--
 tools/memprof/parse.lua                       |  67 ++++++++----
 tools/memprof/process.lua                     |  12 +--
 tools/utils/symtab.lua                        |  20 +++-
 11 files changed, 230 insertions(+), 71 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-24 14:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 12:49 [Tarantool-patches] [PATCH luajit v1 0/4] memprof: enrich symtab when meeting new prototype Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:49 ` [Tarantool-patches] [PATCH luajit v1 1/4] " Mikhail Shishatskiy via Tarantool-patches
2021-08-24 14:16   ` Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:50 ` [Tarantool-patches] [PATCH luajit v1 2/4] memprof: demangle symbols on the spot Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:50 ` [Tarantool-patches] [PATCH luajit v1 3/4] memprof: substitute long proto names with aliases Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:50 ` [Tarantool-patches] [PATCH luajit v1 4/4] luajit: change order of modules Mikhail Shishatskiy via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox