Coder Social home page Coder Social logo

attractivechaos / plb Goto Github PK

View Code? Open in Web Editor NEW
271.0 21.0 57.0 663 KB

Programming language benchmarks

Home Page: http://attractivechaos.github.com/plb/

C 58.75% C++ 8.69% C# 1.34% D 3.25% Go 1.35% Java 3.72% JavaScript 4.81% Lua 1.56% Perl 0.86% Python 9.67% Ruby 2.13% R 0.20% Dart 1.32% Rust 1.81% Julia 0.53%

plb's People

Contributors

alex avatar attractivechaos avatar chromatic avatar dchest avatar dotdash avatar edsrzf avatar janzert avatar jwendel avatar lh3 avatar quinnj avatar rob-smallshire avatar scoder avatar spaolacci avatar wwaites avatar xyproto avatar yazd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plb's Issues

Rerun the tests

How about running the benchmarks again? Since last test many runtimes improved their perfomance. New results can be interesting.

Rust addition

Can you add Rust next to the current supported languages for matrix multiplication and the other examples?

thanks

Please add LICENSE

You should provide a license for each line of code that you share, otherwise it will not be useful to anyone else but you.

My personal favorite is MIT or BSD.

Make sure that you get an OK for a license of your choice for every contributor.

Please add local aliases for all global variables in Lua tests

See #15 for an example. This will help plain Lua benchmarks (and in some cases to LuaJIT ones).

Hint: do this to get the list of globals used by a Lua script:

luac -l -o /dev/null filename.lua | grep ETGLOBAL

I'll submit a pull request (for most of benchmarks at least) if I'll have #14 available.

Add sudoku datasets to repository

Under sudoku/incoming you reference several datasets and give links in the Readme.md. Two of those links have died already. If you have the datasets offline, could you add them to the repository for posterity? Prefererably all 4 as the remaining links may also die.

Enhancement: PHP impl

Hi Attractive Chaos,

Thanks for your detailed benchmark - it's very impressive.

Given PHP is arguably one of the most popular languages in this web era, do you have plan to add PHP implementation in?

Thanks!

Jacky

Looks like patmch Lua implementation needs some collectgarbage() calls.

Something along these lines:

-- These aliases would help plain Lua.
local io_lines = io.lines
local print = print -- Consider removing IO from all benchmarks, BTW.
local collectgarbage = collectgarbage

local pattern = (...)

local counter = 0
for l in io_lines() do
  if l:find(pattern) then print(l) end

  counter = counter + 1
  if counter % 1000 == 0 then -- Play with this value
    collectgarbage("step")
    counter = 0
  end   
end

I'll submit a pull request if you'd do #14.

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.