Skip to content

Commit 9a62018

Browse files
authored
Update Benchmark.md
1 parent 1c41a75 commit 9a62018

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Benchmark.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## Benchmark
1+
# Benchmark
2+
3+
## Encode
24

35
#### Orginal PHP function `json_encode()`
46

@@ -15,6 +17,7 @@ Average Time : 0.008204937 ÷ 4 = 0.002051234
1517
[View Full Source Code](https://github.com/BaseMax/JsonParser/blob/master/Performance-php.php)
1618

1719
#### Own function `$json->encode()`
20+
1821
```
1922
1th Time : 0.17581701278687 elapsed
2023
2th Time : 0.17606496810913 elapsed
@@ -26,3 +29,12 @@ Average Time : 0.704668045 ÷ 4 = 0.176167011
2629
```
2730

2831
[View Full Source Code](https://github.com/BaseMax/JsonParser/blob/master/Performance-own.php)
32+
33+
---------
34+
35+
## Decode
36+
37+
#### Orginal PHP function `json_decode()`
38+
39+
#### Own function `$json->decode()`
40+

0 commit comments

Comments
 (0)