A node performance test you CPU
npm install node-test-performance
This project was make to test your node perfomance before you run your project.
``bash`
npm install node-test-performance
- Node versions:
- 12.x.x
- 14.x.x
- 16.x.x
- 18.x.x
`javascript``
const { piTest } = require('node-test-performance');
// Runing with 8 decimal place
// Show the time and pi number
piTest(8);
// Wait this finish
| 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 |
| 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 |
| 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 |
| 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 |
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