@@ -44,7 +44,7 @@ The compliance test strictly checks if the output json of each library is consis
44
44
45
45
| Library / Status | Version |
46
46
| --------------------------------------------------------------------------------------------------------------------------------------------------------------| ------------|
47
- | <div align =" right " >![ blancks/fast-jsonpatch-php] ( https://github.com/blancks/php-jsonpatch-benchmarks/workflows/blancks/fast-jsonpatch-php/badge.svg ) </div > | v1.2.3 |
47
+ | <div align =" right " >![ blancks/fast-jsonpatch-php] ( https://github.com/blancks/php-jsonpatch-benchmarks/workflows/blancks/fast-jsonpatch-php/badge.svg ) </div > | v2.0 |
48
48
| <div align =" right " >![ remorhaz/php-json-patch] ( https://github.com/blancks/php-jsonpatch-benchmarks/workflows/remorhaz/php-json-patch/badge.svg ) </div > | v0.6.1 |
49
49
| <div align =" right " >![ mikemccabe/json-patch-php] ( https://github.com/blancks/php-jsonpatch-benchmarks/workflows/mikemccabe/json-patch-php/badge.svg ) </div > | dev-master |
50
50
| <div align =" right " >![ php-jsonpatch/php-jsonpatch] ( https://github.com/blancks/php-jsonpatch-benchmarks/workflows/php-jsonpatch/php-jsonpatch/badge.svg ) </div > | v4.1.0 |
@@ -61,15 +61,18 @@ The compliance test strictly checks if the output json of each library is consis
61
61
The following table shows the average time each library took to apply a patch with 1000 operations to a target document as summary of the performance.
62
62
The actual benchmark data is available [ here] ( https://docs.google.com/spreadsheets/d/1ZTDWh1k-zzhYHqZB3JMD2WRV0bPRIWUMRbLiMJhMLHk/edit?usp=sharing ) .
63
63
64
- | Library | Microseconds |
64
+ | Library (fully RFC compliant only) | Microseconds |
65
+ | ------------------------------------| --------------|
66
+ | blancks/fast-jsonpatch-php | 4511 |
67
+ | remorhaz/php-json-patch | 870711 |
68
+
69
+ | Library (others) | Microseconds |
65
70
| -----------------------------| --------------|
66
- | blancks/fast-jsonpatch-php | 2903 |
67
71
| mikemccabe/json-patch-php | 3355 |
68
72
| swaggest/json-diff | 3638 |
69
73
| gamringer/php-json-patch | 7276 |
70
74
| xp-forge/json-patch | 8534 |
71
75
| php-jsonpatch/php-jsonpatch | 10970 |
72
- | remorhaz/php-json-patch | 870711 |
73
76
74
77
> These results are indicative and may vary depending on the specific use case and system environment.
75
78
0 commit comments