🚧 added size benchmark for binary formats
This commit is contained in:
parent
3a7585e738
commit
10bad9381d
2 changed files with 39 additions and 1 deletions
|
|
@ -17,5 +17,8 @@ json_benchmarks_simple: src/benchmarks_simple.cpp ../src/json.hpp
|
|||
number_jsons:
|
||||
(test -e files/numbers/floats.json -a -e files/numbers/signed_ints.json -a -e files/numbers/unsigned_ints.json) || (cd files/numbers ; python generate.py)
|
||||
|
||||
json_formats: src/formats.cpp ../src/json.hpp number_jsons
|
||||
$(CXX) -std=c++11 $(CXXFLAGS) -DNDEBUG -O3 -flto -I../src $(<) $(LDFLAGS) -o $@
|
||||
|
||||
clean:
|
||||
rm -f json_benchmarks json_benchmarks_simple files/numbers/*.json
|
||||
rm -f json_benchmarks json_benchmarks_simple json_formats files/numbers/*.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue