Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
40 lines (28 loc) · 928 Bytes

File metadata and controls

40 lines (28 loc) · 928 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Benchmark

Encode

Orginal PHP function json_encode()

1th Time : 0.0014569759368896 elapsed
2th Time : 0.0028131008148193 elapsed
3th Time : 0.0013258457183838 elapsed
4th Time : 0.0026090145111084 elapsed
-------------------------------------
Sigma Time : 0.008204937
Average Time : 0.008204937 ÷ 4 = 0.002051234

View Full Source Code

Own function $json->encode()

1th Time : 0.17581701278687 elapsed
2th Time : 0.17606496810913 elapsed
3th Time : 0.17591309547424 elapsed
4th Time : 0.17687296867371 elapsed
-----------------------------------
Sigma Time : 0.704668045
Average Time : 0.704668045 ÷ 4 = 0.176167011

View Full Source Code


Decode

Orginal PHP function json_decode()

Own function $json->decode()

Morty Proxy This is a proxified and sanitized view of the page, visit original site.