Alexandru Ardelean
1eab22f0da
tests: add test_deep_copy test
...
Seems to perform better than outputting to string
and re-parsing it.
BENCHMARK - 1000000 iterations of 'dst2 = json_tokener_parse(json_object_get_string(src2))' took 20 seconds
BENCHMARK - 1000000 iterations of 'dst2 = json_tokener_parse(json_object_get_string(src2))' took 7 seconds
It should make a difference on embedded systems.
The test was performed on a i5 desktop CPU [~3.5 years of age].
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2017-11-27 16:17:48 +02:00
..
2017-11-27 16:17:48 +02:00
2017-10-22 22:28:35 -04:00
2012-04-28 14:14:26 -05:00
2017-07-08 19:04:35 -07:00
2017-07-09 15:22:53 -07:00
2012-04-28 14:14:26 -05:00
2017-07-09 15:22:53 -07:00
2017-07-09 15:22:53 -07:00
2017-07-09 15:22:53 -07:00
2016-08-13 00:53:33 +02:00
2012-04-22 10:33:41 -05:00
2012-04-28 14:14:26 -05:00
2012-04-28 14:14:26 -05:00
2012-04-28 14:14:26 -05:00
2012-04-28 14:14:26 -05:00
2016-08-13 00:53:33 +02:00
2012-04-22 10:33:41 -05:00
2017-06-22 10:08:26 +03:00
2017-07-11 10:38:25 +03:00
2015-08-23 00:06:36 -04:00
2012-04-22 10:33:41 -05:00
2017-06-22 10:08:26 +03:00
2014-08-26 14:48:59 +02:00
2014-03-22 21:15:41 -04:00
2017-06-22 10:08:26 +03:00
2016-10-10 00:13:39 -04:00
2016-01-13 15:56:39 +01:00
2017-06-22 10:08:26 +03:00
2017-11-27 16:17:48 +02:00
2017-11-27 16:17:48 +02:00
2017-11-27 16:17:48 +02:00
2017-06-18 18:12:07 +00:00
2017-06-18 18:34:41 +00:00
2017-06-22 10:08:26 +03:00
2016-11-27 11:50:48 +01:00
2016-11-27 11:50:48 +01:00
2017-06-22 10:08:26 +03:00
2017-09-14 09:36:12 -04:00
2017-09-14 09:36:12 -04:00
2017-09-14 09:36:12 -04:00
2017-07-15 07:12:44 -07:00
2016-11-04 09:59:43 +02:00
2017-06-22 10:08:26 +03:00
2017-08-25 01:15:39 -04:00
2016-07-31 14:43:14 -04:00
2017-06-22 10:08:26 +03:00
2016-08-13 00:53:33 +02:00
2012-12-23 10:25:03 -06:00
2017-06-22 10:08:26 +03:00
2012-07-29 12:13:54 -05:00
2012-07-29 12:13:54 -05:00
2017-06-22 10:08:26 +03:00
2017-11-27 00:18:55 -05:00
2017-11-27 08:48:08 -05:00
2017-06-22 10:08:26 +03:00
2017-02-04 01:02:00 +00:00
2017-02-04 01:02:00 +00:00
2017-06-22 10:08:26 +03:00
2012-09-16 20:43:29 -05:00
2012-09-09 13:53:12 -05:00
2017-06-22 10:08:26 +03:00
2016-10-07 00:51:24 +03:00
2016-10-07 00:51:24 +03:00
2017-06-22 10:08:26 +03:00
2017-07-15 07:12:44 -07:00
2017-06-18 18:44:45 +00:00
2017-07-11 10:38:25 +03:00
2016-10-29 15:01:20 -04:00
2016-10-29 15:01:20 -04:00
2017-06-22 10:08:26 +03:00
2017-07-15 07:03:18 -07:00
2016-07-30 18:27:53 +00:00
2016-07-30 18:27:53 +00:00
2017-06-22 10:08:26 +03:00
2016-06-26 02:20:33 +00:00