[Scummvm-tracker] [ScummVM :: Bugs] #11776: Add gnu profiler support to night builds
ScummVM :: Bugs
trac at scummvm.org
Wed Oct 14 17:06:28 UTC 2020
#11776: Add gnu profiler support to night builds
--------------------------+-------------------------------------
Reporter: fedor4ever | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Component: --Unset--
Resolution: | Keywords: optimization, profiling
Game: |
--------------------------+-------------------------------------
Comment (by criezy):
I am not sure adding gprof instrumentation to the builds on buildbot is a
good idea as:
- The instrumention overhead can be quite high, degrading performances for
all users of those builds, even though most of those users don't care or
want gprof data.
- The buildbot builds are compiled without optimizations, which is not
ideal for profiling since it could highlight performance issues in code
that is actually optimized by the compiler in release builds. So usually
you want to profile executables that have been built with optimizations.
Can you not build scummvm yourself?
There may also be some better alternatives to gprof that may not require
instrumentation at compile time. On Linux I usually use the
valgrind/callgrind/kcachegrind combo for profiling, and as far as I know
there is also a profiler in Visual Studio. But I am not sure what exists
for minggw builds on Windows.
--
Ticket URL: <https://bugs.scummvm.org/ticket/11776#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list