<commit_before>
fasterjson_test
================

A test for RapidJson(C++) and fasterjson(C).

### fasterjson(C) ###

http://git.oschina.net/calvinwilliams/fasterjson

### RapidJson(C++) ###

https://github.com/miloyip/rapidjson

Test Result
=============

(Ubuntu 14.04 LTS, Intel 8200 / 2.4GHz / 4 Core / 4GB RAM)

    guozi@77Studio:~/test time -p ./fasterjson_press ../../data/test_big.json 10000

    Elapse time is 132.976 ms
    real 0.13
    user 0.13
    sys 0.00
    
    guozi@77Studio:~/test time -p ./fasterjson_press ../../data/test_big2.json 10000

    Elapse time is 4256.953 ms
    real 4.25
    user 4.25
    sys 0.00
    
    guozi@77Studio:~/test time -p ./rapidjson_test ../../data/test_big.json 10000

    Elapse time is 70.554 ms
    real 0.07
    user 0.07
    sys 0.00
    
    guozi@77Studio:~/test time -p ./rapidjson_test ../../data/test_big2.json 10000

    Elapse time is 2565.334 ms
    real 2.56
    user 2.49
    sys 0.07

    guozi@77Studio:~/test 

Complie
========

You can complie it in Visual Studio 2013 and CodeBlocks(Windows or Linux),

or use "make" command to complie it in console (Linux or Windows cygwin or MinGW).

Like this:

    guozi@77Studio:~/test make

Blog
=====

[http://www.cnblogs.com/shines77/](http://www.cnblogs.com/shines77/)

## fasterjson_test ##

https://github.com/shines77/fasterjson_test

http://git.oschina.net/shines77/fasterjson_test
<commit_msg>Intel Q8200, missing "Q" :-P<commit_after>
fasterjson_test
================

A test for RapidJson(C++) and fasterjson(C).

### fasterjson(C) ###

http://git.oschina.net/calvinwilliams/fasterjson

### RapidJson(C++) ###

https://github.com/miloyip/rapidjson

Test Result
=============

(Ubuntu 14.04 LTS, Intel Q8200 / 2.4GHz / 4 Core / 4GB RAM)

    guozi@77Studio:~/test time -p ./fasterjson_press ../../data/test_big.json 10000

    Elapse time is 132.976 ms
    real 0.13
    user 0.13
    sys 0.00
    
    guozi@77Studio:~/test time -p ./fasterjson_press ../../data/test_big2.json 10000

    Elapse time is 4256.953 ms
    real 4.25
    user 4.25
    sys 0.00
    
    guozi@77Studio:~/test time -p ./rapidjson_test ../../data/test_big.json 10000

    Elapse time is 70.554 ms
    real 0.07
    user 0.07
    sys 0.00
    
    guozi@77Studio:~/test time -p ./rapidjson_test ../../data/test_big2.json 10000

    Elapse time is 2565.334 ms
    real 2.56
    user 2.49
    sys 0.07

    guozi@77Studio:~/test 

Complie
========

You can complie it in Visual Studio 2013 and CodeBlocks(Windows or Linux),

or use "make" command to complie it in console (Linux or Windows cygwin or MinGW).

Like this:

    guozi@77Studio:~/test make

Blog
=====

[http://www.cnblogs.com/shines77/](http://www.cnblogs.com/shines77/)

## fasterjson_test ##

https://github.com/shines77/fasterjson_test

http://git.oschina.net/shines77/fasterjson_test

{'fraction_non_alphanumeric': 0.15543859649122807, 'fraction_numerical': 0.08491228070175438, 'mean_word_length': 2.751315789473684, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5901617', 'n_tokens_mistral': 1295, 'n_tokens_neox': 1036, 'n_words': 264}