This repository has been archived by the owner on Feb 15, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Performance results.txt
54 lines (44 loc) · 1.74 KB
/
Performance results.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Before caching reflection results
Run 1
Manatee.Json using Autoserializer: 00:00:55.9700000
Manatee.Json using IJsonSerializable: 00:00:38.3080000
Newtonsoft.Json : 00:00:01.7520000
Run 2
Manatee.Json using Autoserializer: 00:00:55.8490000
Manatee.Json using IJsonSerializable: 00:00:38.5210000
Newtonsoft.Json : 00:00:01.6650000
Run 3
Manatee.Json using Autoserializer: 00:00:55.9210000
Manatee.Json using IJsonSerializable: 00:00:38.7610000
Newtonsoft.Json : 00:00:01.6680000
------------
After caching reflection results
Run 1
Manatee.Json using Autoserializer: 00:00:53.4710000
Manatee.Json using IJsonSerializable: 00:00:39.5496787
Newtonsoft.Json : 00:00:01.6151615
Run 2
Manatee.Json using Autoserializer: 00:00:52.5262521
Manatee.Json using IJsonSerializable: 00:00:38.6318628
Newtonsoft.Json : 00:00:01.6701670
Run 3
Manatee.Json using Autoserializer: 00:00:53.2513246
Manatee.Json using IJsonSerializable: 00:00:39.2399236
Newtonsoft.Json : 00:00:01.6331633
------------
Deserialize only
Run 1
Manatee.Json using Autoserializer: 00:00:17.1327131
Manatee.Json using IJsonSerializable: 00:00:04.0544054
Run 2
Manatee.Json using Autoserializer: 00:00:15.8515850
Manatee.Json using IJsonSerializable: 00:00:03.8253825
Run 3
Manatee.Json using Autoserializer: 00:00:15.8815880
Manatee.Json using IJsonSerializable: 00:00:03.9523952
-----
Updates (in order)
- Changed StateMachine owner registry to perform reference comparisons only (don't call Equals())
- Cut parse time almost in half (4.1s -> 2.6s)
- Removed Regex process to remove external whitespace and made parsers whitespace tolerant.
- Cut parse time to more than half again (2.6s -> 0.85s)