You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test code is in [iris/json/flow/test/performance_test.kt](https://github.com/iris2iris/iris-json-parser-kotlin/blob/master/src/iris/json/flow/test/performance_test.kt) file.
74
+
75
+
#### Array of 50 elements
76
+
Test code is in [iris/json/flow/test/performance_array.kt](https://github.com/iris2iris/iris-json-parser-kotlin/blob/master/src/iris/json/flow/test/performance_array.kt) file.
75
77
76
78
Test JSON file is in [test_array.json](https://github.com/iris2iris/iris-json-parser-kotlin/blob/master/test_array.json) file.
77
79
78
-
Testing access to first element of array and access to last element of array.
80
+
Testing access to first element of array and access to last element of array. 100k iterations
79
81
```
80
82
AVG[0]:
81
-
org.json: 22611
82
-
org.json.simple: 27232
83
-
Iris Plain: 7110
84
-
Iris Flow: 93
85
-
Iris Proxy: 25
83
+
org.json: 22363
84
+
org.json.simple: 27080
85
+
Iris Plain: 5394 // previous 7110
86
+
Iris Flow: 564 // previous 93
87
+
Iris Proxy: 27
86
88
POJO: 11
87
89
88
90
AVG[49]:
89
-
org.json: 22631
90
-
org.json.simple: 27161
91
-
Iris Plain: 7067
92
-
Iris Flow: 7498
93
-
Iris Proxy: 23
91
+
org.json: 22416
92
+
org.json.simple: 26869
93
+
Iris Plain: 5411 // previous 7067
94
+
Iris Flow: 5870 // previous 7498
95
+
Iris Proxy: 26
94
96
POJO: 10
95
97
```
96
98
99
+
#### Complex json-tree structure
100
+
101
+
Test code is in [iris/json/flow/test/performance_object_tree.kt](https://github.com/iris2iris/iris-json-parser-kotlin/blob/master/src/iris/json/flow/test/performance_object_tree.kt) file.
102
+
103
+
Test JSON file is in [test.json](https://github.com/iris2iris/iris-json-parser-kotlin/blob/master/test.json) file.
104
+
105
+
Testing access to `object.message.attachments[0].wall.id` and converting it to Long. 100k iterations
106
+
```
107
+
org.json: 9149
108
+
org.json.simple: 11186
109
+
Iris Plain: 2652
110
+
Iris Flow: 617
111
+
Iris Proxy: 53
112
+
POJO: 21
113
+
```
114
+
97
115
Check out [CHANGELOG.md](https://github.com/iris2iris/iris-json-parser-kotlin/blob/master/CHANGELOG.md)
98
116
99
117
⭐ If this tool was useful for you, don't forget to give star.
0 commit comments