Commit Graph

15 Commits

Author SHA1 Message Date
Felix Krause b9f569a3cf Fixed a GC problem; improved bench & tojson 2016-09-30 19:35:43 +02:00
Felix Krause 6bb110b185 Made bench great again 2016-09-21 10:44:40 +02:00
Felix Krause 2bb7f45354 Improved tests, benchs, shallowCopies 2016-09-14 18:31:09 +02:00
Felix Krause 4670450a27 Fixed bench and remaining problems 2016-09-14 14:35:41 +02:00
Felix Krause 404aece2fd Fixed bench compatibility with upcoming Nim 2016-08-10 20:40:36 +02:00
Felix Krause 167c25af72 Added benchmark for processing YAML input 2016-03-20 10:32:14 +01:00
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