node-test-performance

0.4.0 • Public • Published

This project was make to test your node perfomance before you run your project.

How to install with npm:

npm install node-test-performance

Pi(π) test

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

Package Sidebar

Install

npm i node-test-performance

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

30.8 kB

Total Files

9

Last publish

Collaborators

  • andre_2l2