Skip to content

Instantly share code, notes, and snippets.

@oleg-andreyev
Created October 24, 2023 11:58
Show Gist options
  • Save oleg-andreyev/0cb275e5945061f00560f0fe07a7e068 to your computer and use it in GitHub Desktop.
Save oleg-andreyev/0cb275e5945061f00560f0fe07a7e068 to your computer and use it in GitHub Desktop.
cca0def37dad:/app# SPX_ENABLED=1 SPX_FP_LIVE=1 SPX_METRICS=wt,zm,zmac,zmab,zmfb php test.php
*** SPX Report ***
Global stats:
Called functions : 2.0M
Distinct functions : 3
Wall time : 1.78s
ZE memory usage : 54.4KB
ZE alloc count : 1.0M
ZE alloc bytes : 38.2MB
ZE free bytes : 38.2MB
Flat profile:
Wall time | ZE memory usage | ZE alloc count | ZE alloc bytes | ZE free bytes |
Inc. | *Exc. | Inc. | Exc. | Inc. | Exc. | Inc. | Exc. | Inc. | Exc. | Called | Function
----------+----------+----------+----------+----------+----------+----------+----------+----------+----------+----------+----------
679.9ms | 679.9ms | 0B | 0B | 1.0M | 1.0M | 38.1MB | 38.1MB | 38.1MB | 38.1MB | 1.0M | decode
608.9ms | 608.9ms | 0B | 0B | 0 | 0 | 0B | 0B | 0B | 0B | 1.0M | encode
1.75s | 460.6ms | 0B | 0B | 1.0M | 0 | 38.1MB | 0B | 38.1MB | 0B | 1 | /app/test.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment