Installations
npm install @slashbin/slash.benchmark
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
10.18.1
NPM Version
6.14.5
Score
67.4
Supply Chain
70.9
Quality
75.2
Maintenance
100
Vulnerability
81.3
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
slashbinslashnoname
Download Statistics
Total Downloads
407
Last Day
1
Last Week
2
Last Month
6
Last Year
64
GitHub Statistics
6 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
693.00 B
Minified
359.00 B
Minified + Gzipped
Package Meta Information
Latest Version
0.0.1
Package Id
@slashbin/slash.benchmark@0.0.1
Unpacked Size
2.88 kB
Size
1.27 kB
File Count
3
NPM Version
6.14.5
Node Version
10.18.1
Total Downloads
Cumulative downloads
Total Downloads
407
Last day
0%
1
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
20%
6
Compared to previous month
Last year
-25.6%
64
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
🐋 Slash.benchmark
Slash.benchmark is a npm package that helps user easily show their processing times. Granularity is in ms.
npm i slash.benchmark
const Benchmark = require("./Benchmark");
Benchmark.start();
- Optional items per seconds to count
Benchmark.setItems(45);
Benchmark.stop();
console.log(Benchmark.getSeconds(), "seconds to run a command between start and stop")
Easy as f👽k You're encouraed to contribute if you find a bug or something that can help => Issues.
Donations => 0x3E7434A8c7eeAc9B2D197447b3f962296E259224
Example
1const Benchmark = require("slash.benchmark"); 2Benchmark.start(); 3Benchmark.setItems(45); 4setTimeout(()=>{ 5 Benchmark.stop(); 6 console.log(Benchmark.getSeconds(), "seconds to run a command between start and stop") 7 console.log(Benchmark.getSpeed("s"), "items/sec have been processed") 8 console.log(Benchmark.getSpeed("ms"), "items/ms have been processed") 9}, 2000)
====== Slashbinslashnoname
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
Last Scanned on 2025-01-20
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More