Opened 4 years ago
Closed 4 years ago
#11776 closed feature request (wontfix)
Add gnu profiler support to night builds
Reported by: | fedor4ever | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | --Unset-- |
Version: | Keywords: | optimization, profiling | |
Cc: | Game: |
Description
As I know mingw used for night builds. Gcc can instrument functions for profiling. How use - just add to cflags "-pg". So simple. Please do it asap.
As symbian porter I wish to optimize cpu load of Blade runner.
Change History (4)
comment:1 by , 4 years ago
Summary: | Add gnu profiler support → Add gnu profiler support to night builds |
---|
comment:2 by , 4 years ago
comment:3 by , 4 years ago
Can you build optimized profiled version? I ask because get fresh build require time. Build bots invented to save peoples time. Why waste my precious time if bot can build for me?
If bot has limited resources you can built optimized profiled version once at two or three days, can you?
About profiling alternatives:
- I'm windows user. I can instal linux on virtual machine and learn linux profiling, someday if be free time.
- I hear that valgrind very heavy for system.
- I read about Visual studio profiling - it works as gprof
- mingw support gnu profiler.
comment:4 by , 4 years ago
Owner: | set to |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Just define CFLAGS in your environment while building. Please do it asap.
I am not sure adding gprof instrumentation to the builds on buildbot is a good idea as:
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.