chuhai - Test driven benchmarking.

  •        864

Test driven benchmarking. What's more useless than micro-benchmarks micro-optimization? Micro-benchmarks without tests to ensure they are doing what you think they are doing. I've seen it more that once. I've done it many times myself. Chūhai is my attempt to fix that by combining testing and benchmarks.

https://github.com/Hypercubed/chuhai#readme

Dependencies:

benchmark : ^2.1.0
bluebird : ^3.4.0
debug : ^2.2.0
fn-name : ^2.0.1
lodash : ^4.13.1
stack-utils : ^0.4.0

Tags
Implementation
License
Platform

   




Related Projects

ava - Futuristic JavaScript test runner

  •    Javascript

Even though JavaScript is single-threaded, IO in Node.js can happen in parallel due to its async nature. AVA takes advantage of this and runs your tests concurrently, which is especially beneficial for IO heavy tests. In addition, test files are run in parallel as separate processes, giving you even better performance and an isolated environment for each test file. Switching from Mocha to AVA in Pageres brought the test time down from 31 to 11 seconds. Having tests run concurrently forces you to write atomic tests, meaning tests don't depend on global state or the state of other tests, which is a great thing!

tape - tap-producing test harness for node and browsers

  •    Javascript

Depending on the module you're loading, you may be able to paramaterize it using environment variables or auxiliary files. Babel, for instance, will load options from .babelrc at runtime.The -r flag behaves exactly like node's require, and uses the same module resolution algorithm. This means that if you need to load local modules, you have to prepend their path with ./ or ../ accordingly.

airtap - Test your JavaScript in 800+ browsers.

  •    Javascript

Test your JavaScript in 800+ browsers. Airtap is an easy way to test your JavaScript in browsers, using a TAP-producing harness like tap or tape. Start testing your code locally in seconds and seamlessly move to cloud based browsers powered by Sauce Labs for better coverage.

nativejson-benchmark - C/C++ JSON parser/generator benchmark

  •    Javascript

This benchmark evaluates the conformance and performance of 41 open-source C/C++ libraries with JSON parsing/generation capabilities. Performance means speed, memory, and code size. Performance should be concerned only if the results are correct. This benchmark also test the conformance of library towards the JSON standards (RFC7159, ECMA-404).

node-tap - Test Anything Protocol tools for node

  •    Javascript

A TAP test framework for Node.js. It includes a command line test runner for consuming TAP-generating test scripts, and a JavaScript framework for writing such scripts.


prova - Test runner based on Tape and Browserify

  •    Javascript

Node & Browser Test runner based on Tape and Browserify.

bench-rest - bench-rest - benchmark REST (HTTP/HTTPS) API's

  •    Javascript

bench-rest - benchmark REST (HTTP/HTTPS) API's. Node.js client module for easy load testing / benchmarking REST API' using a simple structure/DSL can create REST flows with setup and teardown and returns (measured) metrics.

six-speed - ES6 polyfill vs. feature performance tests

  •    Javascript

ES6 polyfill vs. feature performance tests. Test against all registered Sauce Labs browsers.

bench - Command-line benchmark tool

  •    Nix

This project provides the bench command-line tool, which is a more powerful alternative to the time command. Use bench to benchmark a command using Haskell's criterion library. stack install will install bench to ~/.local/bin or something similar. Make sure that the installation directory is on your executable search path before running bench. stack will remind you to do this if you forget.

Benchmarks, Performance and Speed Tests for the .NET and Mono Frameworks

  •    

Benchmarks, performance and speed tests of basic algorithms, structures and patterns for the Microsoft .NET Framework and Novell Mono Framework. Gives the software architect an overview how much throughput dictionaries, thread synchronization and more have. Tests are VS/C#

enzyme - JavaScript Testing utilities for React

  •    Javascript

Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal.

kube-bench - The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices

  •    Go

kube-bench is a Go application that checks whether Kubernetes is deployed securely by running the checks documented in the CIS Kubernetes Benchmark. Tests are configured with YAML files, making this tool easy to update as test specifications evolve.

docker-bench-security - The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production

  •    Shell

The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production. The tests are all automated, and are inspired by the CIS Docker Community Edition Benchmark v1.1.0. We are releasing this as a follow-up to our Understanding Docker Security and Best Practices blog post. We are making this available as an open-source utility so the Docker community can have an easy way to self-assess their hosts and docker containers against this benchmark.

basho_bench - A load-generation and testing tool for basically whatever you can write a returning Erlang function for

  •    Erlang

Basho Bench is a benchmarking tool created to conduct accurate and repeatable performance tests and stress tests, and produce performance graphs. Originally developed to benchmark Riak, it exposes a pluggable driver interface and has been extended to serve as a benchmarking tool across a variety of projects.

jmeter - Mirror of Apache JMeter

  •    Java

Apache JMeter may be used to test performance both on static and dynamic resources, Web dynamic applications. It can be used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types.Full featured Test IDE that allows fast Test Plan recording (from Browsers or native applications), building and debugging.

NBench - Performance benchmarking and testing framework for .NET applications

  •    CSharp

Cross-platform performance benchmarking and testing framework for .NET applications. NBench is designed for .NET developers who need to care about performance and want the ability to "unit test" their application's performance just like XUnit or NUnit tests their application code.