iu-parfunc / adaptive-data

0 stars 0 forks source link

TODO list for adaptive-hashmap hotcold benchmark #9

Open rrnewton opened 8 years ago

rrnewton commented 8 years ago

I've been fixing various things about Bench1.hs, but there's still a ways to go.

Remaining mysteries/questions:

rrnewton commented 8 years ago

Finally, with duplicated code between (1) different benchmark modes, and (2) different data structures it's very hard to remember to update each variant and keep everything apples-to-apples. Just be careful.

rrnewton commented 8 years ago

bench-adaptive-hashmap-1: Prelude.!!: index too large

vikraman commented 8 years ago

adaptive and c-adaptive almost coincide with pure for coldPhase, tested at commit 9dee407. stack bench adaptive-hashmap:bench-adaptive-hashmap-1 '--benchmark-arguments=--doplot --ops=100000000 --bench=cold --runs=5 --minthreads=1 --maxthreads=12 --ratio=5000 --variants=pure --variants=adaptive --variants=c-adaptive' report

rrnewton commented 8 years ago

Thanks! Could you post a link to the git revision with the plots? This is a scenario where we keep updating and tweaking so its good to know which version it came from.

rrnewton commented 8 years ago

Since all the checkmarks above are checked off, I was expecting c-adaptive to pull ahead because of some GC savings.. when I can I'll poke at this a bit more to figure out why not. Definitely need to make sure allocation+GCs are happening during that cold phase

@vikraman, when you get a chance I or someone else can show you how to use threadscope if you haven't already used it.