mirror of
https://github.com/mgree/ffs.git
synced 2024-09-11 19:17:40 +03:00
b9c6644312
Lazy implementation is now the default. Use `--eager` to force ffs to construct the entire filesystem on startup. NB that lazy loading is not the same as lazy parsing. There's still plenty of savings left on the table. There is some unwelcome code duplication in saving to accommodate type-level jiggery pokery. |
||
---|---|---|
.. | ||
20210729_plos | ||
20210929_lazy_vs_eager | ||
20210929_lazy_vs_force_vs_eager | ||
doi | ||
fda | ||
gh | ||
gov.uk | ||
json.org | ||
ncdc | ||
penguin | ||
penn | ||
rv | ||
synthetic | ||
.gitignore | ||
bench.sh | ||
fixup_micro.sh | ||
generate_charts.R | ||
mk_micro.sh | ||
README.md |
To run benchmarks, run run_bench.sh
(in the repo root).
Files for benchmarking. Each directory is from a different source.
- synthetic (artificial, hand-crafted examples)
- json_org (https://json.org examples)
- gh (GitHub API https://api.github.com/)
- ncdc (NCDC NOAA API https://www.ncdc.noaa.gov/cdo-web/webservices/v2)
- gov.uk (https://gov.uk)
- penn (Penn Museum https://www.penn.museum/collections/objects/data.php)
- doi (https://www.doi.org/factsheets/DOIProxy.html#rest-api)
- penguin (http://www.penguinrandomhouse.biz/webservices/rest/)
- rv (Rig Veda https://aninditabasu.github.io/indica/html/rv.html)
- fda (https://open.fda.gov/apis/)
https://github.com/public-apis/public-apis is a useful meta-source.
We generate micro-benchmarks using mk_micro.sh
, which will wipe out
and recreate the directory micro
.