Skip to content

Instantly share code, notes, and snippets.

@chetan
Last active August 29, 2015 14:01
Show Gist options
  • Save chetan/d613e8f7d45600e1ca34 to your computer and use it in GitHub Desktop.
Save chetan/d613e8f7d45600e1ca34 to your computer and use it in GitHub Desktop.
added benchmarks for my custom ApiView lib https://github.com/chetan/json_serialization_benchmark
user system total real allocations memsize
RABL Ultra Simple 2.660000 0.890000 3.550000 ( 3.557719) 106 8751
AMS Ultra Simple 0.280000 0.010000 0.290000 ( 0.285863) 26 650
Presenters Ultra Simple 0.170000 0.000000 0.170000 ( 0.174525) 24 650
ApiView Ultra Simple 0.190000 0.010000 0.200000 ( 0.196894) 12 842
-------------------------------------------------------------------------------------------------------------------
RABL Simple 14.240000 4.490000 18.730000 ( 18.813523) 590 53565
AMS Simple 1.280000 0.000000 1.280000 ( 1.290985) 105 2726
Presenters Simple 0.690000 0.010000 0.700000 ( 0.690873) 98 2918
ApiView Simple 0.330000 0.010000 0.340000 ( 0.332457) 15 1862
-------------------------------------------------------------------------------------------------------------------
RABL Complex 30.320000 8.910000 39.230000 ( 39.334801) 1255 121661
AMS Complex 2.620000 0.000000 2.620000 ( 2.620727) 209 5851
Presenters Complex 1.550000 0.020000 1.570000 ( 1.565634) 201 7395
ApiView Complex 0.520000 0.020000 0.540000 ( 0.538389) 17 3667
Collection tests:
user system total real allocations memsize
RABL Ultra Simple: Collection 2.310000 0.880000 3.190000 ( 3.201103) 8505 816771
AMS Ultra Simple: Collection 0.190000 0.000000 0.190000 ( 0.189600) 1914 47786
Presenters Ultra Simple: Collection 0.150000 0.000000 0.150000 ( 0.150215) 3508 67594
ApiView Ultra Simple: Collection 0.030000 0.010000 0.040000 ( 0.031000) 112 46986
-------------------------------------------------------------------------------------------------------------------
RABL Simple: Collection 13.890000 4.480000 18.370000 ( 18.496664) 56708 5287887
AMS Simple: Collection 1.170000 0.020000 1.190000 ( 1.185601) 9714 236186
Presenters Simple: Collection 0.710000 0.010000 0.720000 ( 0.725470) 16108 380794
ApiView Simple: Collection 0.130000 0.010000 0.140000 ( 0.140841) 610 148986
-------------------------------------------------------------------------------------------------------------------
RABL Complex: Collection 30.010000 9.150000 39.160000 ( 39.233794) 122318 12120557
AMS Complex: Collection 2.600000 0.010000 2.610000 ( 2.619781) 20114 548686
Presenters Complex: Collection 1.810000 0.030000 1.840000 ( 1.839827) 34408 960494
ApiView Complex: Collection 0.330000 0.010000 0.340000 ( 0.335085) 810 329486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment