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

agentzh at gmail dot com sourceware-bugzilla@sourceware.org
Tue Mar 19 22:27:00 GMT 2019


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.


More information about the Systemtap mailing list