PHP generics written in PHP
If you are only using simple collections you can use array - it is very fast and requires little memory. PHP doesn't support generic syntax and IDE can't make hints about the type of objects in a collection (yet), but if you want PHP to do type checks at runtime you can test the php-generics library.
Function for getting size of any PHP variable in bytes
Memory test is very simple. It creates $collection and puts Item objects into it count times. For measurement I use var_sizeof() and memory_get_usage().
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
PHP Benchmarking framework
I used phpbench to measure performance. I think one of the big differences between all the solutions is the type checking. So I decided to try measure it. How much faster will code with/without type checking?
If you want to reproduce the tests result you can find the source code and instructions here.
Benchmark: Mezon Router is up to 196 tomes faster then Hoa Router
3 projects | dev.to | 4 Apr 2021
2020 Year in Review
1 project | dev.to | 6 Jan 2021
Performance comparison: counting words in Python, C/C++, Awk, Rust, and more
12 projects | news.ycombinator.com | 24 Jul 2022
callstack/reassure: Performance testing companion for React and React Native
1 project | reddit.com/r/reactjs | 30 Jun 2022
Request - Load testing tool
2 projects | reddit.com/r/softwaretesting | 28 Feb 2022