miloyip
8d39282af5
Update license headers for tests
2015-04-18 21:41:38 +08:00
miloyip
9dcc1f44f5
Remove deprecated test
2015-04-14 11:09:45 +08:00
miloyip
67be9ed2cb
Remove depreciated FileStream
2015-04-14 11:08:47 +08:00
Milo Yip
57b91300fb
Merge remote-tracking branch 'origin/master' into issue120floatprecision_customstrtod
...
Conflicts:
include/rapidjson/internal/dtoa.h
test/unittest/readertest.cpp
2014-11-14 22:23:16 +08:00
Sean Leather
32525a5d5e
Use 'deprecated' instead of 'depreciated'
2014-10-26 14:51:35 +02:00
Sean Leather
8b9f12ef4f
Add perf tests for EncodedInputStream and AutoUTFInputStream
2014-10-17 23:25:20 +02:00
miloyip
a71f2e60ff
Optimize ParseNumber()
2014-09-05 19:51:20 +08:00
Milo Yip
0dbcc1cf2e
Add license and change indents from tab to space.
2014-08-11 22:26:45 +08:00
Milo Yip
f0955d327c
Fixed a bug in perftest (was asserted in debug)
2014-08-09 20:35:48 +08:00
Milo Yip
8081e2a2c8
Add perf test cases for document using iterative parsing
2014-07-27 00:03:37 +08:00
thebusytypist
d4da07c5fb
Merge upstream/master.
2014-07-14 23:49:57 +08:00
Milo Yip
b55fcbd36a
Merge pull request #61 from miloyip/issue59terminate
...
Fixes #59 by adding bool return value for each event handler function
2014-07-12 23:42:50 +08:00
thebusytypist
36434b66c8
Merge remote-tracking branch 'upstream/master' into TransitionTable
2014-07-11 12:52:07 +08:00
Philipp A. Hartmann
3cdfb0dafe
rapidjsontest.cpp: silence a warning (C4244) on MSVC
2014-07-10 19:38:57 +02:00
thebusytypist
55e97eada0
Add two basic performance tests.
2014-07-10 22:31:12 +08:00
Milo Yip
cc04219e36
Fixes #59 by adding bool return value for each event handler function
2014-07-10 19:33:01 +08:00
Philipp A. Hartmann
813da24d72
Add RAPIDJSON_DIAG_* macros to handle compiler warnings
...
Warning push/pop support has been added to GCC in version 4.6.0,
and pragmas to ignore certain warnings are present since 4.2.0.
This patch hides the compiler-specific warning push/pop/disable
pragmas behind a macro-based implementation (currently for MSVC and
clang /GCC.
This avoids warnings, as seen e.g. on GCC 4.4:
../../include/rapidjson/document.h:14: error: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
and earlier versions complaining about unknown pragmas being ignored.
Note: unittest.h and perftest.h need to check for compilers
explicitly, as rapidjson.h is not included there.
2014-07-08 14:45:19 +02:00
Philipp A. Hartmann
a22f325ae4
perftest: fix typo
2014-07-03 17:06:35 +02:00
Milo Yip
5a186104f4
Fixes warnings
2014-07-03 00:59:35 +08:00
Milo Yip
1d14748bc9
Added overloaded functions for default parseFlags
...
Can write d.Parse(...) instead of d.Parse<0>(...)
Hope to reduce strangeness and confusion for beginner.
2014-06-29 15:03:38 +08:00
miloyip@gmail.com
9c68ce986e
Fixed a lots of vc2008/vs2010 and gcc3/4 warnings with the maximum warning level.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@67 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-13 08:02:22 +00:00
miloyip@gmail.com
66754fc5b0
Added referenced performance of UTF-8 validation
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@36 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-24 07:50:59 +00:00
miloyip@gmail.com
a45bcbba7b
Rewrite UTF8::Validate() to obtain better performance.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@35 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-23 17:59:30 +00:00
miloyip@gmail.com
f198c486ee
Added encoding validation feature
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@30 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 19:29:43 +00:00
miloyip@gmail.com
9ae680d35b
Added ultrajson to perftest, only tested parsing to dummy handler.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@28 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 06:12:01 +00:00
miloyip@gmail.com
99de5312e6
Separated platform related performance tests from rapidjsontest
...
Added multiple platform specific file I/O performance tests
Added CheckSum() in platform test as baseline of parsing speed, which should be more appropriate than strlen().
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@26 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 05:07:29 +00:00
miloyip@gmail.com
bce34fbea8
Proved FileStream is very slow due to fgetc(). Added a new FileReadStream which uses fread() with buffer.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@22 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-21 06:56:47 +00:00
miloyip@gmail.com
8f8e905306
Initial version (0.1)
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@2 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-18 17:01:23 +00:00