Twinside / Rasterific

A drawing engine in Haskell
BSD 3-Clause "New" or "Revised" License
140 stars 11 forks source link

Collection of different Benchmarks #33

Open stephano33 opened 6 years ago

stephano33 commented 6 years ago

I am starting a project to improve the performance of Rasterific. A motivation, for example, is to render 60 frames a second. So I will implement concurrency (i.e. Multithreading) support.

Can we all collaborate together on this project?

The first step is to implement a collection of benchmarks. We need to check that one improvement doesn't slow down some other use cases. To verify the speedup progress, benchmarks are needed.

I am first implementing the snowflake demo benchmark: https://github.com/damelang/gezira/blob/master/c/demos/snow-demo.c https://youtu.be/HAT4iewOHDs?t=25m43s

If you want to contribute, follow the discussion on reddit and contact me there or here on github.

https://www.reddit.com/r/haskell/comments/7dbsmm/rasterific_vector_lib_collaboration_to_improve/

stephano33 commented 6 years ago

I implemented a simplified version of the snow demo. It only displays rectangles at the moment: https://gist.github.com/anonymous/ce7614ee2abf8110b78325063084da6e