Giter Site home page Giter Site logo

kylinsoft / benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lac-dcc/benchmarks

0.0 0.0 0.0 507.28 MB

LLVM test suite benchmarks (260 benchmarks - 36 test suites)

Shell 0.30% JavaScript 0.08% C++ 8.19% Perl 0.13% C 68.28% PHP 0.02% Objective-C 0.86% R 0.02% Assembly 0.07% Pawn 0.01% Makefile 0.17% PostScript 3.71% LLVM 18.01% Brainfuck 0.01% Batchfile 0.01% Limbo 0.02% Roff 0.01% RPC 0.09% NASL 0.05%

benchmarks's Introduction

A curated set of more than 200 benchmarks used in compilers.

arnoldao

This project is intended for people working with compiler optimizations. If this is your case, this other project might be of your interested.

Benchmarks

Here is a list of benchmarks available in this repo:

  • ASCI_Purple
  • ASC_Sequoia
  • BenchmarkGame
  • BitBench
  • CoyoteBench
  • Dhrystone
  • DOE_ProxyApps_C
  • Fhourstones
  • Fhourstones_31
  • FreeBench
  • Linpack
  • llubenchmark
  • mafft
  • MallocBench
  • McCat
  • McGill
  • mediabench
  • MiBench
  • Misc
  • nbench
  • NPB-serial
  • Olden
  • PAQ8p (C++)
  • Prolangs-C
  • Ptrdist
  • SciMark2-C
  • Shootout
  • sim
  • Stanford
  • tramp3d-v4 (C++)
  • Trimaran
  • TSVC
  • VersaBench
  • PolyBench

How do I compile any of these benchmarks?

Here

Want to contribute?

Saw something wrong or want to increase the list of benchmarks, send a pull request.

How to add more benchmarks

  1. For each folder that contains .c files, i.e., the folder that will contain the executable file that you are creating, add the following info.sh file there:
bench_name="XX"

source_files=( "foo.c" "bar.c" "baz.c" "..." )
COMPILE_FLAGS=" -lm "
COMPILER="clang"  # or clang++ for C++ programs
RUN_OPTIONS=" irsmk_input "
STDIN=" file.in "

The last two options are passed to the executable:

./XX.exe ${RUN_OPTIONS} < ${STDIN}

benchmarks's People

Contributors

brenocfg avatar guilhermeleobas 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.