All Projects → phpbenchmarks → benchmark-kit

phpbenchmarks / benchmark-kit

Licence: other
phpbenchmarks.com kit to add your benchmark.

Programming Languages

Twig
543 projects

Labels

Projects that are alternatives of or similar to benchmark-kit

nowplaying-RS-Music-Reco-FM
#nowplaying-RS: Music Recommendation using Factorization Machines
Stars: ✭ 23 (-25.81%)
Mutual labels:  benchmark
benchmarking-fft
choosing FFT library...
Stars: ✭ 74 (+138.71%)
Mutual labels:  benchmark
map benchmark
Comprehensive benchmarks of C++ maps
Stars: ✭ 132 (+325.81%)
Mutual labels:  benchmark
graphql-benchmarks
GraphQL benchmarks using the-benchmarker framework.
Stars: ✭ 54 (+74.19%)
Mutual labels:  benchmark
typescript-orm-benchmark
⚖️ ORM benchmarking for Node.js applications written in TypeScript
Stars: ✭ 106 (+241.94%)
Mutual labels:  benchmark
sets
Benchmarks for set data structures: hash sets, dawg's, bloom filters, etc.
Stars: ✭ 20 (-35.48%)
Mutual labels:  benchmark
glDelegateBenchmark
quick and dirty benchmark for TFLite gles delegate on iOS
Stars: ✭ 13 (-58.06%)
Mutual labels:  benchmark
ftsb
Full Text Search Benchmark, a tool for comparing and evaluating full-text search engines.
Stars: ✭ 12 (-61.29%)
Mutual labels:  benchmark
caliper-benchmarks
Sample benchmark files for Hyperledger Caliper https://wiki.hyperledger.org/display/caliper
Stars: ✭ 69 (+122.58%)
Mutual labels:  benchmark
rpc-bench
RPC Benchmark of gRPC, Aeron and KryoNet
Stars: ✭ 59 (+90.32%)
Mutual labels:  benchmark
cpm
Continuous Perfomance Monitor (CPM) for C++ code
Stars: ✭ 39 (+25.81%)
Mutual labels:  benchmark
node-vs-ruby-io
Node vs Ruby I/O benchmarks when resizing images with libvips.
Stars: ✭ 11 (-64.52%)
Mutual labels:  benchmark
httpit
A rapid http(s) benchmark tool written in Go
Stars: ✭ 156 (+403.23%)
Mutual labels:  benchmark
hood
The plugin to manage benchmarks on your CI
Stars: ✭ 17 (-45.16%)
Mutual labels:  benchmark
facies classification benchmark
The repository includes PyTorch code, and the data, to reproduce the results for our paper titled "A Machine Learning Benchmark for Facies Classification" (published in the SEG Interpretation Journal, August 2019).
Stars: ✭ 79 (+154.84%)
Mutual labels:  benchmark
beapi-bench
Tool for benchmarking apis. Uses ApacheBench(ab) to generate data and gnuplot for graphing. Adding new features almost daily
Stars: ✭ 16 (-48.39%)
Mutual labels:  benchmark
revl
Helps to benchmark code for Autodesk Maya.
Stars: ✭ 14 (-54.84%)
Mutual labels:  benchmark
ronin
RoNIN: Robust Neural Inertial Navigation in the Wild
Stars: ✭ 144 (+364.52%)
Mutual labels:  benchmark
php-simple-benchmark-script
Очень простой скрипт тестирования быстродействия PHP | Very simple script for testing of PHP operations speed (rusoft repo mirror)
Stars: ✭ 50 (+61.29%)
Mutual labels:  benchmark
react-benchmark
A tool for benchmarking the render performance of React components
Stars: ✭ 99 (+219.35%)
Mutual labels:  benchmark


www.phpbenchmarks.com

Benchmark kit is a tool to add a framework or a template engine benchmark on phpbenchmarks.com.

Documentation

Requirements

You will need Docker ^18.06 to make it work.

Installation

Everything you need to use benchmark kit is is phpbenchkit.sh.

Install it as global bin and give it execute mode:

sudo wget https://raw.githubusercontent.com/phpbenchmarks/benchmark-kit/master/phpbenchkit.sh -O /usr/local/bin/phpbenchkit
sudo chmod +x /usr/local/bin/phpbenchkit

Then call phpbenchkit, it will add vhosts and run Docker benchmatk kit container:

# Add vhosts if needed, run Docker container and call bin/console to show available commands
phpbenchkit

# Restart Docker container
phpbenchkit --restart

# Stop Docker container
phpbenchkit --stop

# Update docker image and phpbenchkit command
phpbenchkit --selfupdate

Benchmark kit commands

List available commands:

phpbenchkit

Almost all commands accept this option:

  • --skip-source-code-urls: don't validate source code urls, usefull while you are in development.

#1 Ask us to create repositories

You can ask us to create repositories with contact form.

Tell us which component and version you want to benchmark, and your github username to allow you to commit on this repositories.

We will send you an email when repositories will be created.

#2 Initialize code

To make your benchmark work you will need some files into .phpbenchmarks directory:

  • Configuration.php: configuration of benchmarked component.
  • initBenchmark.sh: called before the benchmark to initialize everything (composer install, cache warmup etc).
  • vhost.conf: nginx virtual host configuration.
  • responseBody/: benchmark url body will be compared to files in this directory to validate it's content.
  • composer/composer.lock.phpX.Y: created by phpbenchkit composer:update to install dependencies by PHP version.

All this files can be created and configured with configure commands.

See list of configure commands with phpbenchkit configure:.

You can call phpbenchkit configure:benchmark to create all of them or use the one your need.

phpbenchkit composer:update
# you can specify a version of php
phpbenchkit composer:update 7.1

You can validate each part of your configuration with validate.

See list of validation commands with with phpbenchkit validate:.

#4 Add required feaures for benchmarks

Choose the component type and benchmark type you want to code:

Note that all component benchmarks needs to bo validated to make your component appear on phpbenchmarks.com.

#5 Test and validate your code

Docker container provide a domain to test your code: http://benchmark-kit.loc.

To change PHP version (CLI and FPM):

phpbenchkit 

When you think it's ok, use phpbenchkit validate:benchmark to validate it.

#6 Submit your code

When phpbenchkit validate:benchmark say it's good, push your code, then you can tell us to launch benchmarks with contact form.

Thank you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].