Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodkranz/read_test
https://github.com/rodkranz/read_test
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rodkranz/read_test
- Owner: rodkranz
- Created: 2017-06-30T12:05:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-03T08:44:49.000Z (over 7 years ago)
- Last Synced: 2024-11-07T22:42:29.478Z (about 2 months ago)
- Language: Go
- Size: 636 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Version
* GO: 1.8.3
* Node: 7.8.0
* PHP: 5.6.30
* Python: 2.7.13## Generate File `data.json`
[readTime] go run generate.go --fileSize 8192
## GO
[go] time ./goRead
Started Reading json file.
Bytes: 12558918857 Chunks: 191634
./goRead 0.06s user 5.53s system 80% cpu 6.904 total## NODE
[node] time node nodeRead.js
Started Reading json file.
Bytes: 12558918857 Chunks: 191634
node nodeRead.js 4.05s user 7.62s system 91% cpu 12.706 total## PHP
[php] time php phpRead.php
Started Reading json file.
Bytes: 12558918857 Chunks: 191634
php phpRead.php 0.68s user 5.97s system 84% cpu 7.914 total
## PYTHON
[python] time python pythonRead.py
Started Reading json file.
Bytes: 12558918857 Chunks: 191634
python pythonRead.py 0.37s user 6.41s system 64% cpu 10.471 total## JAVA
[java] javac ReadFile.java master ✭ ✱
## Results
| Language | Version | User | System | CPU | Time |
|----------|---------|----------|---------|-------|-----------|
| GO | 1.8.3 |**0.06s** |**5.53s**| 80% | **6.904** |
| Node | 7.8.0 | 4.05s | 7.62s | 91% | 12.706 |
| PHP | 5.6.30 | 0.68s | 5.97s | 84% | 7.914 |
| Python | 2.7.13 | 0.37s | 6.41s |**64%**| 10.471 |