Added a YAML benchmark that loads and optionally extracts data
from and/or dumps a YAML file.
This commit is contained in:
parent
3078262129
commit
fb67e775e4
5 changed files with 124 additions and 11 deletions
|
@ -1,4 +1,6 @@
|
|||
|
||||
///Random YAML generator. Used to generate benchmarking inputs.
|
||||
|
||||
import std.conv;
|
||||
import std.datetime;
|
||||
import std.math;
|
||||
|
@ -8,7 +10,7 @@ import std.string;
|
|||
import yaml;
|
||||
|
||||
|
||||
immutable alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_";
|
||||
immutable alphabet = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_";
|
||||
immutable digits = "0123456789";
|
||||
|
||||
Node config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue