Closed mhart closed 10 years ago
I didn't want to commit this directly on master in case you guys had some comments about whether this is even useful...?
lgtm except for the .npmignore, I'd rather distribute with tests and benchmarks, they don't take up enough size to warrant removal; aside from that this can be merged I reckon
Ah ok - that was probably my bias creeping in against anything extra going into npm due to the pain we feel in one of our apps that has a dependency tree with over 2,000 (sub)modules. Esp with us being in Aus, every little byte counts!
Have removed that npmignore commit.
These don’t actually benchmark MemDOWN directly, but rather compare different strategies for inserting/deleting keys. (I'm not exactly sure as to the best strategy for comparing different versions of MemDOWN - just keep a running tally of benchmark results I guess?)
I figured
bench
was probably a bit more lightweight than any of the other options (less deps). Running these benchmarks on my MacBook Air I get:and