mirror of
https://github.com/nlohmann/json.git
synced 2026-06-26 14:04:17 +00:00
🚧 added size benchmark for binary formats
This commit is contained in:
+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