[osg-users] Slow optimization and OpenFlight

Alberto Luaces aluaces at udc.es
Mon Nov 27 08:46:25 PST 2017


Robert Osfield writes:

> I gave up the valgrind tool=callgrind because it was taking too long
> to complete.  What I did gleen from it was that the run confirms that
> removeChildren() is a bottleneck.

For these matters the "perf" utility in the linux-perf package reaches
near-uninstrumented performance:

$ perf record <exe_and_arguments> # Gather results

$ perf report # Inspect results

Depending on the system configuration, running previously a

$ echo 1 | sudo tee /proc/sys/kernel/perf_event_paranoid

might be required.

-- 
Alberto



More information about the osg-users mailing list