awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bestiejs avatar

bestiejs/benchmark.jsArchived

0
View on GitHub↗
5,465 Stars·332 Forks·JavaScript·4 Aufrufebenchmarkjs.com↗

Benchmark.js

benchmark.js ist eine Benchmarking- und statistische Analysebibliothek, die darauf ausgelegt ist, die Ausführungsgeschwindigkeiten von JavaScript-Funktionen zu messen und zu vergleichen. Sie dient als Leistungsmessungstool, das die mittlere Ausführungszeit, die Fehlerspanne und die Standardabweichung für spezifische Code-Implementierungen berechnet.

Die Bibliothek bietet Funktionen zum Vergleich von Benchmark-Ergebnissen, um die relative Geschwindigkeit zu bestimmen, und verwaltet organisierte Testsuiten, die in Massen ausgeführt, geklont oder zurückgesetzt werden können. Sie enthält Präzisionskontrollen für das Sampling, um Mindeststichprobengrößen und maximale Laufzeiten anzupassen und statistische Zuverlässigkeit zu gewährleisten.

Das Tool deckt ein breites Spektrum an Leistungsbewertungsaufgaben ab, einschließlich Komplexitätsanalyse von Algorithmen, Optimierung der Ausführungszeit und Regressionstests. Es integriert zudem einen Ausführungslebenszyklus-Manager zur Definition benutzerdefinierter Setup- und Teardown-Funktionen und nutzt Event-Listener zur Überwachung des Starts und Abschlusses von Benchmarks.

Features

  • JavaScript and WebAssembly Benchmarks - Provides a performance measurement suite specifically for executing and timing JavaScript code.
  • Statistical Analysis Libraries - Implements a toolkit for calculating descriptive statistics and correlations to compare code implementations.
  • Execution Time Measurements - Tracks the elapsed time of function calls to produce mean, margin of error, and standard deviation.
  • Precision Benchmarking Timers - Utilizes high-resolution timing mechanisms to measure the exact elapsed time of code iterations.
  • Function Execution Timing - Measures the elapsed time of JavaScript functions to identify and resolve performance bottlenecks.
  • Monotonic Time Measurement - Uses monotonic clocks to calculate durations and avoid inaccuracies caused by system clock drifts.
  • Performance Measurement - Provides high-resolution timing and resource tracking to calculate mean execution time and margins of error.
  • Test Suites - Enables the grouping of multiple benchmarks into collections that can be run, cloned, or reset in bulk.
  • Asynchronous Looping Primitives - Implements non-blocking iteration mechanisms to handle both synchronous and promise-based function benchmarks.
  • Standard Deviation Calculators - Calculates standard deviation to measure the dispersion and stability of performance timing results.
  • Complexity Analysis - Enables the comparative evaluation of different coding approaches to determine time and space efficiency.
  • Event-Driven Hooks - Provides hooks to execute custom setup and teardown logic at specific stages of the benchmark lifecycle.
  • Benchmark Result Comparison - Analyzes recorded timing data to identify and compare performance differences between multiple execution sets.
  • Test Lifecycle and Execution Control - Provides mechanisms for managing benchmark execution flow via custom setup and teardown hooks.
  • Regression Testing Suites - Provides a suite of performance tests to ensure that code changes do not introduce execution speed regressions.
  • Iteration Scaling - Automatically increases the number of test iterations until results reach a statistically significant sample size.
  • Precision Controls - Allows adjusting minimum sample sizes and maximum run times to reduce measurement uncertainty.
  • Benchmarking - Standard library for performance benchmarking.
  • Benchmarking Tools - Standard library for benchmarking.

Star-Verlauf

Star-Verlauf für bestiejs/benchmark.jsStar-Verlauf für bestiejs/benchmark.js

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Benchmark.js

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Benchmark.js.
  • google/benchmarkAvatar von google

    google/benchmark

    10,240Auf GitHub ansehen↗

    This project is a performance measurement framework and microbenchmarking library designed for C++ and Python. It provides a toolset for measuring the execution time of small code fragments using high-resolution timers, calculating statistical aggregates, and analyzing asymptotic complexity. The framework distinguishes itself through specialized capabilities for multithreaded performance testing, using synchronized execution to measure parallel throughput. It includes mechanisms to prevent compiler optimizations from removing benchmarked code and supports complex parameterization via Cartesia

    C++benchmark
    Auf GitHub ansehen↗10,240
  • sebastianbergmann/php-timerAvatar von sebastianbergmann

    sebastianbergmann/php-timer

    7,744Auf GitHub ansehen↗

    php-timer is a set of utilities for measuring, tracking, and formatting the execution duration and memory consumption of PHP code segments. It functions as an execution timer and performance profiling utility to analyze resource consumption. The project provides capabilities to track the duration between start and stop triggers in seconds, milliseconds, or nanoseconds. It also includes a resource usage tracker that converts raw execution timestamps and memory bytes into human-readable text strings for reporting. The tool covers performance profiling, resource monitoring, and request duration

    PHP
    Auf GitHub ansehen↗7,744
  • anthropics/original_performance_takehomeAvatar von anthropics

    anthropics/original_performance_takehome

    3,488Auf GitHub ansehen↗

    This project is an algorithmic performance benchmarking tool and execution cycle simulator. It functions as a complexity analysis framework that measures code execution speed using simulated clock cycles to evaluate algorithmic efficiency against established performance baselines. The tool provides deterministic measurements of computational work and time complexity by tracking virtual clock cycles rather than real time. It utilizes a threshold-driven test suite to validate whether specific code implementations meet required performance cycle targets. The framework covers execution speed pro

    Python
    Auf GitHub ansehen↗3,488
  • davebcn87/pi-autoresearchAvatar von davebcn87

    davebcn87/pi-autoresearch

    7,035Auf GitHub ansehen↗

    pi-autoresearch is an autonomous research extension that automates iterative code-editing and performance-measurement loops driven by large language models. It functions as an experiment lifecycle automator, executing repetitive cycles of changes and benchmarks until a specific goal is reached. The system distinguishes itself by organizing successful experimental trials into independent git branches for review and merging. It includes a real-time research dashboard for monitoring metrics and status, and utilizes median absolute deviation to calculate confidence scores that filter benchmark no

    TypeScript
    Auf GitHub ansehen↗7,035
Alle 30 Alternativen zu Benchmark.js anzeigen→

Häufig gestellte Fragen

Was macht bestiejs/benchmark.js?

benchmark.js ist eine Benchmarking- und statistische Analysebibliothek, die darauf ausgelegt ist, die Ausführungsgeschwindigkeiten von JavaScript-Funktionen zu messen und zu vergleichen. Sie dient als Leistungsmessungstool, das die mittlere Ausführungszeit, die Fehlerspanne und die Standardabweichung für spezifische Code-Implementierungen berechnet.

Was sind die Hauptfunktionen von bestiejs/benchmark.js?

Die Hauptfunktionen von bestiejs/benchmark.js sind: JavaScript and WebAssembly Benchmarks, Statistical Analysis Libraries, Execution Time Measurements, Precision Benchmarking Timers, Function Execution Timing, Monotonic Time Measurement, Performance Measurement, Test Suites.

Welche Open-Source-Alternativen gibt es zu bestiejs/benchmark.js?

Open-Source-Alternativen zu bestiejs/benchmark.js sind unter anderem: google/benchmark — This project is a performance measurement framework and microbenchmarking library designed for C++ and Python. It… sebastianbergmann/php-timer — php-timer is a set of utilities for measuring, tracking, and formatting the execution duration and memory consumption… davebcn87/pi-autoresearch — pi-autoresearch is an autonomous research extension that automates iterative code-editing and performance-measurement… anthropics/original_performance_takehome — This project is an algorithmic performance benchmarking tool and execution cycle simulator. It functions as a… github/scientist — Scientist is a Ruby code parity testing library and production experimentation framework. It allows for the safe… hosseinmoein/dataframe — DataFrame is a C++ tabular data library and manipulation engine designed for managing heterogeneous data in contiguous…