https://github.com/andre2l2/node-test-performance
It's a package to test your node performance. Less time more performance
https://github.com/andre2l2/node-test-performance
node node-perfirmance nodejs performance test
Last synced: over 1 year ago
JSON representation
It's a package to test your node performance. Less time more performance
- Host: GitHub
- URL: https://github.com/andre2l2/node-test-performance
- Owner: andre2l2
- License: mit
- Created: 2021-10-24T21:13:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T01:26:33.000Z (over 3 years ago)
- Last Synced: 2025-01-06T05:28:49.631Z (over 1 year ago)
- Topics: node, node-perfirmance, nodejs, performance, test
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/node-test-performance
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project was make to test your node perfomance before you run your project.
## How to install with npm:
```bash
npm install node-test-performance
```
- Node versions:
- [12.x.x](#node-v12xx)
- [14.x.x](#node-v14xx)
- [16.x.x](#node-v16xx)
- [18.x.x](#node-v18xx)
## Pi(π) test
```javascript
const { piTest } = require('node-test-performance');
// Runing with 8 decimal place
// Show the time and pi number
piTest(8);
// Wait this finish
```
## Node v12.x.x
| CPU | KEY | TIME | CLOCK |
| -------------------- | --- | ---------- | ------ |
| Ryzen 3 2200g | 8 | 0m 35s 346 | 3.6GHz |
| Intel Core I5-1135G7 | 8 | 0m 22s 083 | 2.4GHz |
| Raspberry PI 3 | 8 | 5m 40s 980 | 1.4GHz |
## Node v14.x.x
| CPU | KEY | TIME | CLOCK |
| -------------------- | --- | ---------- | ------ |
| Ryzen 3 2200g | 8 | 0m 37s 875 | 3.6GHz |
| Intel Core I5-1135G7 | 8 | 0m 45s 736 | 2.4GHz |
| Raspberry PI 3 | 8 | 6m 44s 009 | 1.4GHz |
## Node v16.x.x
| CPU | KEY | TIME | CLOCK |
| -------------------- | --- | ---------- | ------ |
| Ryzen 3 2200g | 8 | 0m 36s 561 | 3.6GHz |
| Intel Core I5-1135G7 | 8 | 0m 24s 972 | 2.4GHz |
| Raspberry PI 3 | 8 | 4m 57s 541 | 1.4GHz |
## Node v18.x.x
| CPU | KEY | TIME | CLOCK |
| -------------------- | --- | ---------- | ------ |
| Ryzen 3 2200g | 8 | 0m 33s 024 | 3.6GHz |
| Intel Core I5-1135G7 | 8 | 0m 23s 169 | 2.4GHz |
| Raspberry PI 3 | 8 | 4m 50s 256 | 1.4GHz |
## How to you can contibuinte with this project
After you makad test you can open a pull request here, and add the name of your CPU and time in List of the times. Less time more performace