Skip to content

The tool which orchestrates the running of a TechEmpower Framework Benchmark.

License

Notifications You must be signed in to change notification settings

TechEmpower/TFBToolset

Repository files navigation

TFBToolset

Build Status

The suite of tools that are run in the TechEmpower Framework Benchmarks. This application is a stand-alone executable which orchestrates several functions: auditing existing test implementations, running benchmarks, running test implementation verifications, etc.

The goal of this application is to live in isolation from the test implementations. Separately, the executable that is built from this toolset will execute against the test implementations as local data.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Windows Only

EnvVars

To run any tests, the toolset needs to know the location of FrameworkBenchmarks. There are three places the toolset searches (in order):

  • Environment variable TFB_HOME
  • Home directory; e.g. ~/.tfb
  • Current directory

Running the tests

$ cargo test

Building

$ cargo build --release

Installing

The executable tfb_toolset (tfb_toolset.exe on Windows) only needs to be on the PATH.

Running

Verify Example

Unix:

$ cd TFBToolset
$ cargo build --release
$ cd ..
$ git clone https://github.com/TechEmpower/FrameworkBenchmarks.git
$ cd FrameworkBenchmarks
$ ../TFBToolset/target/release/tfb_toolset -m verify --test gemini

Windows:

> cd TFBToolset
> cargo build --release
> cd ..
> git clone https://github.com/TechEmpower/FrameworkBenchmarks.git
> cd FrameworkBenchmarks
> ..\TFBToolset\target\release\tfb_toolset.exe -m verify --test gemini

Authors

License

This project is licensed under the BSD-3-Clause License - see the LICENSE file for details