Skip to content

Commit 5097812

Browse files
added throughput
1 parent 84045b3 commit 5097812

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ I ran some benchmarks against lua-cjson, rapidjson, and dkjson. For each test, I
9090

9191
![Lua Performance Column Chart](benchmark/lua-perf.png)
9292

93+
I also calculated the throughput for each of the files to show how it may affect real-world performance. You can also find a LuaJIT version in the benchmarks folder
9394

95+
![Lua Throughput Performance Chart](benchamrk/lua-throughput.png)
96+
97+
All tested files are in the [jsonexamples folder](jsonexamples/).
9498

9599
## Caveats & Alternatives
96100
* there is no encoding/dumping a lua table to JSON (yet! Most other lua JSON libraries can handle this)

benchmark/lua-throughput.png

21.8 KB
Loading

benchmark/luajit-throughput.png

23.5 KB
Loading

0 commit comments

Comments
 (0)