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

Sign up
Appearance settings

Commit 4750ed6

Browse files
add benchmark doc
1 parent 5ed415d commit 4750ed6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,16 @@ It allows you to map objects to arrays/JSON and **automatically generate OpenAPI
2626

2727
## Benchmark
2828

29-
![benchmark](./docs/benchmark.png)
29+
```bash
30+
Run vendor/bin/phpbench run benchmarks/ --bootstrap=vendor/autoload.php
31+
PHPBench (1.4.1) running benchmarks... #standwithukraine
32+
with PHP version 8.4.8, xdebug ❌, opcache ❌
33+
34+
benchObjectCreation.....................I4 ✔ Mo117.841μs (±3.09%)
35+
benchObjectCreationWithoutCache.........I4 ✔ Mo284.568μs (±0.71%)
36+
benchObjectToArray......................I4 ✔ Mo62.883μs (±0.56%)
37+
benchObjectToArrayWithoutCache..........I4 ✔ Mo211.700μs (±0.84%)
38+
```
3039

3140
## Quick Start
3241

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /