-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add directory for benchmarks #6
base: item-caching
Are you sure you want to change the base?
Conversation
Many GraphsThis is just the many-graphs benchmark that I added to output.mp4Lots of TextThis is a port of a text-rendering benchmark that I built for a hobby project https://lux.graphics/ (click-and-drag to pan around, and use the scroll-wheel to zoom in and out) output.1.mp4Source CodeThis demo uses walls own source-code to demonstrate how the text-rendering output.2.mp4 |
Thank you very much. And sorry that I didn't look at it earlier, this will be very helpful. From a performance perspective for text rendering, glyphs are cached but not the layout yet. This would be a natural extension of the current "item caching" branch. (Fortunately, the text layout algorithm is very naive so this is not much of a problem for now :)) |
When I profiled one of these (many-graphs I think), I found that the program spent ~20% of CPU time converting between 64-bit floats to 32-bit floats to store in the bigarray. This has me excited for Unboxed Types, and I think I'll be able to test Wall with a prototype compiler that supports unboxed 32-bit floats within the next month or two! |
As I experiment with wall, I want to continue adding more benchmarks without cluttering the examples page, so I've built a small collection of benchmarks and a benchmark runner