Bucklescript

#ocaml, programming

neonsquare/bucklescript-benchmark: A small benchmark comparing Bucklescript to plain JavaScript

Timings:

Reason: using BuckleScript Records/Lists : 710.390ms
JS:     using Object.assign              : 8263.039ms

Timings of unfair/cheating variants
JS: using Object and manual key mapping (brittle code!)         : 3123.591ms
JS: using Object mutation (no immutability!)                    : 1721.166ms

Code