
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@coffeekraken/s-bench
Advanced tools
Simple and pretty convinient class to make simple benches like a process duration, etc...
Simple and pretty convinient class to make simple benches like a process duration, etc...
npm i @coffeekraken/s-bench
This SBench
class allows you to know how many time take a certain part of your processes, with a concept of "steps" to split this even more when needed. Here's the features availables:
SBench
related statements into your code and filter out which bench(s) you want to be active and which notHere's how to use our implementation:
import __SBench from '@coffeekraken/s-bench';
const bench = new __SBench('myCoolProcess');
// something...
bench.step('afterSomething');
// something else...
bench.end().log();
For more information about the API of this class, please check our API documentation
Specify a title for your bench that will be used in the log
Specify a body for your bench that will be used in the log
Distributed under the MIT License. See LICENSE for more information.
Here's all the ways you can contact us listed:
FAQs
Simple and pretty convinient class to make simple benches like a process duration, etc...
The npm package @coffeekraken/s-bench receives a total of 2 weekly downloads. As such, @coffeekraken/s-bench popularity was classified as not popular.
We found that @coffeekraken/s-bench demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.