Skip to content

Instantly share code, notes, and snippets.

@oleg-andreyev
Created October 24, 2023 12:00
Show Gist options
  • Save oleg-andreyev/bd85f9441e1b12e603a8592553d6ec69 to your computer and use it in GitHub Desktop.
Save oleg-andreyev/bd85f9441e1b12e603a8592553d6ec69 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.95s
ZE memory usage : 54.5KB
ZE alloc count : 2.0M
ZE alloc bytes : 91.6MB
ZE free bytes : 91.6MB
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
----------+----------+----------+----------+----------+----------+----------+----------+----------+----------+----------+----------
733.8ms | 733.8ms | 53.4MB | 53.4MB | 1.0M | 1.0M | 53.4MB | 53.4MB | 0B | 0B | 1.0M | encode
727.9ms | 727.9ms | 0B | 0B | 1.0M | 1.0M | 38.1MB | 38.1MB | 38.1MB | 38.1MB | 1.0M | decode
1.93s | 465.1ms | 56B | -53.4MB | 2.0M | 0 | 91.6MB | 0B | 91.6MB | 53.4MB | 1 | /app/test.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment