Global Feed Post Login
Replying to Avatar Terence Eden

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?

Avatar
Derick Rethans 2y ago

nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk Set-up nostr:npub1gv565wy8tykraxrnsyqnuhh7wtsjfw02t3fx905e9jqj407h6rmqach8cl — its profiling is exactly what you want.

Reply to this note

Please Login to reply.

Discussion

Avatar
Terence Eden 2y ago

nostr:npub1tp2hy53hya8zlw07qs5p3sd6fgzcnml5558z9ye4wln0wuttqm8qtg4l9u

nostr:npub1gv565wy8tykraxrnsyqnuhh7wtsjfw02t3fx905e9jqj407h6rmqach8cl

I'm not clever enough for that, sadly. Every time I start I just get bogged down in terminology I don't understand.

Thread collapsed