https://github.com/mohitmun/pythonvsphp
PDF merging benchmark for Python and PHP
https://github.com/mohitmun/pythonvsphp
Last synced: 2 months ago
JSON representation
PDF merging benchmark for Python and PHP
- Host: GitHub
- URL: https://github.com/mohitmun/pythonvsphp
- Owner: mohitmun
- Created: 2016-08-04T19:49:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-04T20:28:46.000Z (almost 10 years ago)
- Last Synced: 2025-02-27T04:50:06.230Z (over 1 year ago)
- Language: Python
- Size: 244 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pythonvsphp
PDF merging benchmark for Python and PHP
- I used `time` command for benchmarking
- Ubuntu 14.04, 64 bit, Intel® Core™ i5-5200U CPU @ 2.20GHz × 4 , 8GB RAM
````
time php mymerger.php
time python basic_merging.py
````
## Results
| Language | User |System | Total |
| --- |---| ---|---|
| Python 2.7 |0.19s |0.01s| 0.198s |
| Python 3 |0.24s|0.01s | 0.257s|
| php5 | 0.05s | 0.00s | 0.055s|
______________