php-var-sizeof
Function for getting size of any PHP variable in bytes (by mrsuh)
php-collections-comparison
https://dev.to/mrsuh/comparing-php-collections-5cca (by mrsuh)
php-var-sizeof | php-collections-comparison | |
---|---|---|
3 | 1 | |
56 | 0 | |
- | - | |
0.0 | 3.8 | |
over 1 year ago | about 2 years ago | |
PHP | PHP | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
php-var-sizeof
Posts with mentions or reviews of php-var-sizeof.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-22.
-
Comparing PHP Collections
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().
-
I made my own var_sizeof() function with FFI to calculate variable size more accurate
I used this scrip to render a table with numbers https://github.com/mrsuh/php-var-sizeof/blob/master/bin/render-table.php
php-collections-comparison
Posts with mentions or reviews of php-collections-comparison.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-22.
-
Comparing PHP Collections
If you want to reproduce the tests result you can find the source code and instructions here.
What are some alternatives?
When comparing php-var-sizeof and php-collections-comparison you can also consider the following projects:
php-generics - PHP generics written in PHP
PHPBench - PHP Benchmarking framework