Giter Club home page Giter Club logo

benchmark_matrix_computation's Introduction

This repository is a Demo for GenBenchSite, a Benchmarking tools for libraries.

Files organisation

  • project.ini: Contains the configuration for the project. It is used to configure the website and the benchmarking process.
  • res/: Contains the resources for the website, such as logos, images, etc. The script will copy the content of this folder to the pages/assets/ folder.
  • targets/: Contains the targets to be benchmarked. Each target is a folder containing a target.ini file containing the configuration for the target and a description.html to describe the target (the file be be added to the page of the target).
  • themes/: Contains the themes for the task. Each theme is a folder containing a theme.ini file containing the configuration for the theme and a description.html to describe the theme (the file be be added to the page of the theme).In each theme folder:
    • task/: Contains the tasks for the theme. Each task is a folder containing a task.ini file containing the configuration for the task and a description.html to describe the task (the file be be added to the page of the task).There's also a extra.html file that will be added to the page of the task. the data/ folder is where you can put the data used by your test scripts .Each task folder also contains folders for each target to be benchmarked. Each target folder contains the test scripts for the target. ( a run script and a before script if needed ). The evaluation script is used to evaluate the results of the benchmarking process found in the output/ folder.

====================

  • pages/: Contrains the pages of the website generated by the benchmarking process.

How to use

  1. Get the GenBenchSite package either by downloading with the command pip install genbenchsite it or by cloning it. Then you'll have access to the gbs command with the help of the command gbs help.
  2. Create a template folder for your project with the command gbs init <nameBenchmark>
  3. Edit the files to configure your project.
  4. Run the benchmarking process with the command gbs benchmark -I <pathToTemplateFolder> ( the default path is the current directory ). The process will generate the data in the results.json folder.
  5. Run the website generation process with the command gbs website -I <pathToTemplateFolder> ( the default path is the current directory ). The process will generate the website in the pages/ folder.

Website UI

You'll find the website in the pages folder and is composed of index.html, the main pages content/, with all the pages generated by the benchmarking process,script/ for all the javascript files, style/ with all the css files, and assets/ with all the assets needed for the website.

the main page is index.html and should look like this:

You can navigate through the pages using the navigation bar on the left side of the page. The data created by the benchmarking process can be downloaded using the Raw Data button on the top right of the page.

benchmark_matrix_computation's People

Contributors

white-on avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.