Terence Eden on Nostr: Hey, #PHP friends - what's the *easiest* way to compare the speed & memory use of two ...
Hey, #PHP friends - what's the *easiest* way to compare the speed & memory use of two different functions?
The functions themselves are quite simple (a dozen or so lines) so I can't really be bothered to set up a whole XDebug environment.
Is there an online tool which will give me a rough answer?
Published at
2023-09-01 09:52:43Event JSON
{
"id": "480732fff0e3f38e31295b7e2b8612838a1f22d579f53fe8245e490d3945a415",
"pubkey": "fddf487eea9db57a6e320f80e5cb63de50bedf539695a41c0d447be6c23643e1",
"created_at": 1693561963,
"kind": 1,
"tags": [
[
"t",
"php"
],
[
"proxy",
"https://mastodon.social/users/Edent/statuses/110989276826890262",
"activitypub"
]
],
"content": "Hey, #PHP friends - what's the *easiest* way to compare the speed \u0026 memory use of two different functions?\n\nThe functions themselves are quite simple (a dozen or so lines) so I can't really be bothered to set up a whole XDebug environment.\n\nIs there an online tool which will give me a rough answer?",
"sig": "94c0ef89aed0db8dd1d13c2ffcfddd5f960e305a0fd05d6fd5d2708a754320de7b8ca858803e2857081fea83053e56e79449694fbb1056ea757de1943bec755b"
}