mirror of
https://github.com/nlohmann/json.git
synced 2026-10-11 00:47:12 +00:00
🚧 added size benchmark for binary formats
This commit is contained in:
2 files changed
+39
-1
No files matched your search
+4
-1
@@ -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
|
||||
Reference in new issue
Block a user