From 2c1598536ec3dc03f61b7c491a6e947a61419a9a Mon Sep 17 00:00:00 2001 From: miloyip Date: Thu, 2 Apr 2015 15:12:50 +0800 Subject: [PATCH] Update and localize performance --- doc/performance.md | 10 +++------- doc/performance.zh-cn.md | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 doc/performance.zh-cn.md diff --git a/doc/performance.md b/doc/performance.md index 333e50f..702ca72 100644 --- a/doc/performance.md +++ b/doc/performance.md @@ -1,15 +1,11 @@ # Performance -The old performance article for RapidJSON 0.1 is provided [here](https://code.google.com/p/rapidjson/wiki/Performance). - -The (third-party) performance tests have been removed from this repository -and are now part of a dedicated [native JSON benchmark collection] [1]. - -This file will be updated with a summary of benchmarking results based on -the above benchmark collection in the future. +There is a [native JSON benchmark collection] [1] which evaluates speed, memory usage and code size of various operations among 20 JSON libaries. [1]: https://github.com/miloyip/nativejson-benchmark +The old performance article for RapidJSON 0.1 is provided [here](https://code.google.com/p/rapidjson/wiki/Performance). + Additionally, you may refer to the following third-party benchmarks. ## Third-party benchmarks diff --git a/doc/performance.zh-cn.md b/doc/performance.zh-cn.md new file mode 100644 index 0000000..b590fe0 --- /dev/null +++ b/doc/performance.zh-cn.md @@ -0,0 +1,26 @@ +# 性能 + +有一个[native JSON benchmark collection][1]项目,能评估20个JSON库在不同操作下的速度、內存用量及代码大小。 + +[1]: https://github.com/miloyip/nativejson-benchmark + +RapidJSON 0.1版本的性能测试文章位于[这里](https://code.google.com/p/rapidjson/wiki/Performance). + +此外,你也可以参考以下这些第三方的评测。 + +## 第三方评测 + +* [Basic benchmarks for miscellaneous C++ JSON parsers and generators](https://github.com/mloskot/json_benchmark) by Mateusz Loskot (Jun 2013) + * [casablanca](https://casablanca.codeplex.com/) + * [json_spirit](https://github.com/cierelabs/json_spirit) + * [jsoncpp](http://jsoncpp.sourceforge.net/) + * [libjson](http://sourceforge.net/projects/libjson/) + * [rapidjson](https://github.com/miloyip/rapidjson/) + * [QJsonDocument](http://qt-project.org/doc/qt-5.0/qtcore/qjsondocument.html) + +* [JSON Parser Benchmarking](http://chadaustin.me/2013/01/json-parser-benchmarking/) by Chad Austin (Jan 2013) + * [sajson](https://github.com/chadaustin/sajson) + * [rapidjson](https://github.com/miloyip/rapidjson/) + * [vjson](https://code.google.com/p/vjson/) + * [YAJL](http://lloyd.github.com/yajl/) + * [Jansson](http://www.digip.org/jansson/)