Git Product home page Git Product logo

cmack / lpathbench Goto Github PK

View Code? Open in Web Editor NEW

This project forked from logicchains/lpathbench

0.0 1.0 0.0 270 KB

Benchmarks of the longest path problem in various languages

License: MIT License

Clojure 4.24% C++ 3.91% C# 4.62% Go 8.68% Haskell 15.51% Lua 2.64% Python 0.95% Shell 4.03% Rust 13.35% Crystal 1.98% D 4.03% Dart 3.02% F# 3.08% JavaScript 7.47% Julia 2.20% Java 7.62% Common Lisp 4.81% Makefile 2.47% OCaml 3.33% Nim 2.08%

lpathbench's Introduction

LPATHBench

Benchmarks of the longest path problem in various languages

sh runbench.sh 8981 x86 x86html to run the benchmark locally. sh runArmBench.sh 8981 to run the benchmark on an ARM device (edit the script to set the ssh and path settings) sh resdiff.sh x86 arm > diffgraph.html to create the diff table python makeblog.py to make the blog

Where 8981 is the distance of the longest path in the graph

If you want to make a new graph:

/mkgraph -places=NUM_NODES -worldsize=WORLD_SIZE, where NUM_NODES is the number of nodes in the graph, and WORLD_SIZE is the maximum distance between nodes. Each node has at least one connection, to the next node, and will on average have NUM_NODES/2 connections. Graphs are directed; a path of length N from Node1 to Node2 doesn't imply a similar path from Node2 to Node1.

lpathbench's People

Contributors

arjantopolovec avatar arthurprs avatar asterite avatar burntpizza avatar cmack avatar def- avatar dmitshur avatar dvolk avatar dynamical-butter-system avatar gasche avatar hokkos avatar jessekphillips avatar lemmi avatar logicchains avatar lpw25 avatar masterduke17 avatar onionhammer avatar philnguyen avatar phiresky avatar scorpiion avatar thebosz 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.