-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Measure RGBDS performance #653
Comments
For reference, |
Valgrind could be useful, though not on Windows or Cygwin. |
gprof can point to hotspots, however, it has all kinds of problems with the optimizer and static functions. Quite likely the |
I think peekInternal is also reading from disk, so I would read from tmpfs to make sure it's not some kind of disk performance thing you are seeing here. |
According to |
The |
Bison's C++ parser, using its own |
Some people have been complaining about RGBDS performance being subpar. With the growing complexity of the codebase, particularly the increasing amount of features—especially for RGBASM—, I am worried about how taxing a given change may be on the overall performance.
This is split in two sub-problems:
Profiling
To know how slow the programs currently are, we should identify their processing bottlenecks. I did that with
perf
once, but the data was fairly lackluster beyond "60% of your time is spent insideyyparse
". Maybegprof
would be better, or something else?Measuring the performance impact of changes
mmap
is actually worth it, in several scenarios (macro-heavy vs. largely linear, for ex.)The text was updated successfully, but these errors were encountered: