Code Monkey home page Code Monkey logo

anagram_benchmarks's Introduction

This is the unnoficial repo for calculating running times of helmes challenge solutions. Benchmark tries to not allow app use a cached version of file, as it was explicitely stated that file should be referenced from disk. Right now it does so by keeping copies of the same dictionary files. Obviously timing will be differt on different machines, so you can run this on yours (be careful with untrusted solutions).

Open an issue if you want to add your solution in results.

Usage

git clone https://github.com/scientist1642/anagram_benchmarks --recursive

python3 benchmark.py [repo_name | all] python3 benchmark.py all - benchmark all solutions - takes a long time python3 benchmark.py username/reponame - benchmark a specific solution.

To generate markdown table:

cat benchmark_results.csv | python3 tools/mdtable.py -separator:,

Adding a new solution

Update repos.txt and git submodule add https://github.com/adamsont/helmes_challenge.git solutions/adamsont/helmes_challenge

TODO

Drop cache before each run with echo 3 > /proc/sys/vm/drop_cachesa

Results

Done on ubuntu 18.04 64bit virtualbox vm 2 cpu / Macos 2014 2ghz

repo lang mean stdev
intgr/anaXgram Rust 8915 2431
scientist1642/hlm_challenge Cpp 6209 1160
adamsont/helmes_challenge C 13390 2309
gdantimi/helmeschallenge Java 70105 9939

ubuntu 18.04 ryzen 1700x 8 core

repo lang mean stdev
intgr/anaXgram Rust 7129 3141
scientist1642/hlm_challenge Cpp 4750 188
adamsont/helmes_challenge C 10529 2110

anagram_benchmarks's People

Contributors

lauri-nomme avatar scientist1642 avatar

Stargazers

 avatar

Watchers

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