This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/24363] Slow pass 2 due to varuse_collecting_visitor::visit_embeddedcode()


https://sourceware.org/bugzilla/show_bug.cgi?id=24363

--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Got some flame graphs for the generated .stp sample script attached to my
previous comment:

Classic CPU flame graph:

http://openresty.org/misc/flamegraph/stap-unordered-map-generated-script-2019-03-19.svg

Reversed CPU flame graph:

http://openresty.org/misc/flamegraph/inv-stap-unordered-map-generated-script-2019-03-19.svg

The stap has got the patch here: https://pastebin.com/vCbxcwdf And you can see
all those hash table overhead introduced by `std::unordered_map::find()`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]