Display benchmark results as a timeline
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake
data
doc/img
examples
icons
misc
src
.gitignore
.travis.yml
AUTHORS
CMakeLists.txt
COPYING
Doxyfile
benchmark-viewer.desktop
benchmark.rc
config.hh.in
readme.md

readme.md

Benchmark-Viewer BenchmarkViewer

Display C++ applications runtime as a timeline

Build Status Coverity Scan Build Status

BenchmarkViewer

Build and run

  • required packages: cmake; qt5 (core, widgets);

Linux

git clone git://github.com/crep4ever/benchmark-viewer.git
cd benchmark-viewer
mkdir build && cd build
cmake .. && make
sudo make install
cd -
benchmark-viewer data/example.csv

Windows with VS2015

Pre-requisite : Visual Studio 2015 Qt Installation for Visual Studio 2015 (installed for exemple in c:/Qt/QtVersion/msvc2015_64/ refered as QTDIR in the next lines)

git clone git://github.com/crep4ever/benchmark-viewer.git
cd benchmark-viewer
mkdir build && cd build
cmake .. -G "Visual Studio 14 2015 Win64" -DCMAKE_PREFIX_PATH="QTDIR"

Open the generated solution with Visual Studio and build the sources. The binary file will be generated in the TARGET_PATH (Debug/ or Release/).

To deploy the solution use the Qt deploy tool : http://doc.qt.io/qt-5/windows-deployment.html

QTDIR/bin/windeployqt TARGET_PATH/

CMake options

  • CMAKE_BUILD_TYPE [ Release (default), Debug]

Generate benchmark logs

The directory examples contains a minimal program example that generates benchmark logs.

cd examples
g++ benchmark.cc main.cc
./a.out # generates benchmark logs in session.csv
benchmark-viewer session.csv

Example

Contact