Felix Krause
00e10ff9ce
Fixed problem with JSON handling.
...
* use `[]=` instead of add() to add JSON nodes to an object.
add() seems to have problems with expanding.
* renamed bench/json.nim to bench/jsonBench.nim to avoid confusion
with Nim's stdlib json.nim
2016-02-27 14:33:13 +01:00
Felix Krause
33a7f93480
Code cleanup; reduced compiler hints
2016-02-19 18:25:01 +01:00
Felix Krause
d05971d5ac
bench: run 100 times per test and return mean
2016-01-24 12:28:14 +01:00
Felix Krause
bb64b4eaec
Made bench compile again
2016-01-24 11:50:07 +01:00
Felix Krause
7af566c3a0
Handle quoted strings in flow style.
...
* Also use fastparse for benchmarking
2016-01-21 19:23:45 +01:00
Felix Krause
94fd70a808
Made bench compile again
2016-01-15 00:10:20 +01:00
Felix Krause
7cabfc652e
Benchmark against libyaml.
...
* Took libyaml binding from nimlets and used it in bench
* Use shallow copy for scalar content in parser
2016-01-13 21:01:50 +01:00
Felix Krause
6617033fd5
Better interface for loading to JSON
2015-12-29 12:33:41 +01:00
Felix Krause
d828f4ddc5
Added benchmark. Fixed processing empty flow sets.
2015-12-29 00:14:47 +01:00