Strip comments from JSON. Lets you use comments in your JSON files!
Neo-Async is a drop-in replacement for Async, it almost fully covers its functionality and runs faster
Intl.LocaleMatcher ponyfill
Specialized fast async file writer
A fast alternative to legacy querystring module
High-performance Base64 encoder and decoder
node-simple-lru-cache =====================
Escape string for use in HTML
🔎 A simple, tiny and lightweight benchmarking library!
A node API for the dprint TypeScript and JavaScript code formatter
A simple MD5 hash function for JavaScript supports UTF-8 encoding.
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
Faster swc nodejs binding
The lightest signal library.
Classify GPU's based on their benchmark score in order to provide an adaptive experience.
Easy test setup without side effects
Fast, disk space efficient package manager
Fastest stable deterministic JSON.stringify()
TypeScript definitions for benchmark
An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables xterm.js to serialize a terminal framebuffer into string or html. This addon requires xterm.js v4+.
Pure node.js library for comparing PNG-images, taking into account human color perception.
Left pad a string with zeros or a specified string. Fastest implementation.
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
Provides "ui" for testing frameworks such as mocha/jasmine which allows to define lazy variables and subjects
Performance testing matchers for RSpec to set expectations on speed, resources usage and scalibility.
RSpec syntax mimicked benchmarking framework
provides rspec matcher to do simple benchmark tests
Benchmarks your code through RSpec automated testing
Benches defines a simple rspec matcher that allows you to create benchmarking specs for your Ruby code.
minitest provides a complete suite of testing facilities supporting TDD, BDD, and benchmarking. "I had a class with Jim Weirich on testing last week and we were allowed to choose our testing frameworks. Kirk Haines and I were paired up and we cracked open the code for a few test frameworks... I MUST say that minitest is *very* readable / understandable compared to the 'other two' options we looked at. Nicely done and thank you for helping us keep our mental sanity." -- Wayne E. Seguin minitest/test is a small and incredibly fast unit testing framework. It provides a rich set of assertions to make your tests clean and readable. minitest/spec is a functionally complete spec engine. It hooks onto minitest/test and seamlessly bridges test assertions over to spec expectations. minitest/benchmark is an awesome way to assert the performance of your algorithms in a repeatable manner. Now you can assert that your newb co-worker doesn't replace your linear algorithm with an exponential one! minitest/pride shows pride in testing and adds coloring to your test output. I guess it is an example of how to write IO pipes too. :P minitest/test is meant to have a clean implementation for language implementors that need a minimal set of methods to bootstrap a working test suite. For example, there is no magic involved for test-case discovery. "Again, I can't praise enough the idea of a testing/specing framework that I can actually read in full in one sitting!" -- Piotr Szotkowski Comparing to rspec: rspec is a testing DSL. minitest is ruby. -- Adam Hawkins, "Bow Before MiniTest" minitest doesn't reinvent anything that ruby already provides, like: classes, modules, inheritance, methods. This means you only have to learn ruby to use minitest and all of your regular OO practices like extract-method refactorings still apply. == Features/Problems: * minitest/autorun - the easy and explicit way to run all your tests. * minitest/test - a very fast, simple, and clean test system. * minitest/spec - a very fast, simple, and clean spec system. * minitest/benchmark - an awesome way to assert your algorithm's performance. * minitest/pride - show your pride in testing! * minitest/test_task - a full-featured and clean rake task generator. * Incredibly small and fast runner, but no bells and whistles. * Written by squishy human beings. Software can never be perfect. We will all eventually die.
They are some performance critical pieces of code that will be executed on huge data sets, which we want to make sure will run fast enough. Unfortunately, enforcing this is not easy, often requiring large scale and slow benchmarks. This rspec library (the result of an experiment to learn machine learning) uses linear regression to determine the time complexity (Big O notation, O(x)) of a piece of code and to check that it is at least as good as what we expect. This does not require huge data sets (only a few large ones) and can be written as any unit test (not as fast though).