Giter Site home page Giter Site logo

jdougan / floating_point_benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fourmilab/floating_point_benchmarks

1.0 1.0 0.0 480 KB

The Marinchip/Autodesk/Fourmilab floating point benchmark, used since 1980 to evaluate the performance of machines and compilers on trigonometry-intensive floating point computations

Home Page: https://www.fourmilab.ch/fbench/

License: Other

JavaScript 2.48% Ruby 1.92% C++ 25.58% Python 3.48% Perl 2.46% C 18.08% PHP 2.97% Erlang 2.59% Java 1.95% Common Lisp 2.07% Lua 1.81% Haskell 14.50% Scala 3.26% Smalltalk 2.74% Fortran 1.97% Go 2.32% Ada 2.57% Prolog 3.13% Rust 3.02% Scilab 1.09%

floating_point_benchmarks's Introduction

Fourmilab Floating Point Benchmarks

Sadly, as the "balding geezer" is no longer with us, the github repository of the floating point benchmarks is unmaintained. Since I (John Dougan) am adding a D port to it, I may as well hold onto it until someone motivated wants to extend it.

Rationale

There are many disadvantages to being a balding geezer. In compensation, if you've managed to live through the second half of the twentieth century and been involved in computing, there's bearing personal witness to what happens when a technological transition goes into full-tilt exponential blow-off mode. I'm talking about Moore's Law (actually, more of an observation than a law, since it's predicated on certain physical principles and can't go on forever)—computing power available at constant cost doubling every 18 months or so. I've not only seen this happen, I've—er—profited from it; had the 80286-based IBM PC/AT and its competitors not appeared when they did, Autodesk would have been stillborn as too early to market or drowned out by competitors as we arrived too late.

When Moore's Law (or whatever) is directly connected to your career and your bank account, it's nice to have a little thermometer you can use to see how it's going as the years roll by. This repository contains two benchmarks I've used to evaluate computer performance ever since 1980. They focus on things which matter to me—floating point computation speed, evaluation of trigonometric functions, and matrix algebra. If you're interested in text searching or database retrieval speed, you should run screaming from these benchmarks. Hey, they work for me.

The original floating point benchmark, which is based upon an optical design ray tracing program I wrote in BASIC in December 1980, has been ported to many different programming languages, and may be used to evaluate the performance of these languages and different implementations of them.

Please see the following HTML documents for details and results.

All of this software is licensed under the Creative Commons Attribution-ShareAlike license. Please see LICENSE.md in this repository for details.

floating_point_benchmarks's People

Contributors

fourmilab avatar

Stargazers

John Dougan avatar

Watchers

John Dougan 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.