Skip to content

Commit cdc2cbc

Browse files
committed
README.md updated with workflows badges
1 parent 56ec401 commit cdc2cbc

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ This project aims to compare their performance and functionality.
99

1010
The following PHP JSON Patch libraries are included in the benchmark:
1111

12-
1. [**blancks/fast-jsonpatch-php**](https://github.com/blancks/fast-jsonpatch-php) (v1.2.3)
13-
2. [**mikemccabe/json-patch-php**](https://github.com/mikemccabe/json-patch-php) (dev-master)
14-
3. [**php-jsonpatch/php-jsonpatch**](https://github.com/raphaelstolt/php-jsonpatch) (v4.1.0)
15-
4. [**xp-forge/json-patch**](https://github.com/xp-forge/json-patch) (v2.1.0)
16-
5. [**gamringer/php-json-patch**](https://github.com/gamringer/JSONPatch) (v1.0)
17-
6. [**swaggest/json-diff**](https://github.com/swaggest/json-diff) (v.3.11)
18-
7. [**remorhaz/php-json-patch**](https://github.com/remorhaz/php-json-patch) (v.0.6.1)
12+
1. [**blancks/fast-jsonpatch-php**](https://github.com/blancks/fast-jsonpatch-php)
13+
2. [**mikemccabe/json-patch-php**](https://github.com/mikemccabe/json-patch-php)
14+
3. [**php-jsonpatch/php-jsonpatch**](https://github.com/raphaelstolt/php-jsonpatch)
15+
4. [**xp-forge/json-patch**](https://github.com/xp-forge/json-patch)
16+
5. [**gamringer/php-json-patch**](https://github.com/gamringer/JSONPatch)
17+
6. [**swaggest/json-diff**](https://github.com/swaggest/json-diff)
18+
7. [**remorhaz/php-json-patch**](https://github.com/remorhaz/php-json-patch)
1919

2020

2121
## Benchmark Methodology
@@ -42,15 +42,15 @@ The benchmarks were executed on the following system:
4242

4343
The compliance test strictly checks if the output json of each library is consistent with the RFC and if the library performs atomic operations.
4444

45-
| Library | Tests |
46-
|-----------------------------|---------------------------------------------------------------|
47-
| blancks/fast-jsonpatch-php | ![#008000](https://placehold.co/15x15/008000/008000.png) PASS |
48-
| remorhaz/php-json-patch | ![#008000](https://placehold.co/15x15/008000/008000.png) PASS |
49-
| mikemccabe/json-patch-php | ![#990000](https://placehold.co/15x15/990000/990000.png) FAIL |
50-
| php-jsonpatch/php-jsonpatch | ![#990000](https://placehold.co/15x15/990000/990000.png) FAIL |
51-
| xp-forge/json-patch | ![#990000](https://placehold.co/15x15/990000/990000.png) FAIL |
52-
| gamringer/php-json-patch | ![#990000](https://placehold.co/15x15/990000/990000.png) FAIL |
53-
| swaggest/json-diff | ![#990000](https://placehold.co/15x15/990000/990000.png) FAIL |
45+
| Library / Status | Version |
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 |
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+
| <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+
| <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 |
51+
| <div align="right">![xp-forge/json-patch](https://github.com/blancks/php-jsonpatch-benchmarks/workflows/xp-forge/json-patch/badge.svg)</div> | v2.1.0 |
52+
| <div align="right">![gamringer/php-json-patch](https://github.com/blancks/php-jsonpatch-benchmarks/workflows/gamringer/php-json-patch/badge.svg)</div> | v1.0 |
53+
| <div align="right">![swaggest/json-diff](https://github.com/blancks/php-jsonpatch-benchmarks/workflows/swaggest/json-diff/badge.svg)</div> | v3.11.0 |
5454

5555
> mikemccabe and xp-forge libraries implicitly converts objects into arrays and while this make the compliace test fail it is still fine if you only have to consume the document in PHP. The other ones that failed the compliance test are not reliable for a real-world use
5656

0 commit comments

Comments
 (0)