GithubHelp home page GithubHelp logo

isabella232 / feedjira-benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from feedjira/feedjira-benchmarks

0.0 0.0 0.0 441 KB

Benchmarks for the feedjira gem

Home Page: http://feedjira.com/benchmarks.html

Ruby 51.25% R 22.57% Shell 26.19%

feedjira-benchmarks's Introduction

Feedjira Benchmarks

This project contains the benchmarks used to ensure Feedjira stays fast.

Running the Benchmarks

Its important for benchmarks to be repeatable and verifiyable by another party. Getting setup to run the benchmarks requires that you first clone down this repo and then also clone down the feedjira one:

$ git clone git://github.com/feedjira/feedjira-benchmarks
$ cd feedjira-benchmarks
$ git clone git://github.com/feedjira/feedjira

This will give you a directory structure like this:

feedjira-benchmarks
|-- feed_xml
|-- feedjira
|-- fetch
|-- others
+-- parse

Next bundle to grab the project's requirements.

Lastly, producing the charts does rely on having R installed. If you're on a Mac, this should work:

$ brew tap homebrew/science
$ brew install r

Running the parse benchmark

This benchmark is run against each version of the gem - run it like this:

$ parse/run

This command will output three files:

  • parse/results.txt - the raw numbers from the benchmark
  • parse/results.csv - the totals from the raw numbers in CSV
  • parse/parse-benchmark.png - that CSV converted to chart form

Running the fetching benchmark

This benchmark compares the speeds of various fetching options - run it like this:

$ fetch/run

This command will output three files:

  • fetch/results.txt - the raw numbers from the benchmark
  • fetch/results.csv - the totals from the raw numbers in CSV
  • fetch/fetch-benchmark.png - that CSV converted to chart form

Running the others benchmark

This benchmark compares Feedjira with other Ruby feed libraries in terms of parse speed:

$ others/run

This command will output three files:

  • others/results.txt - the raw numbers from the benchmark
  • others/results.csv - the totals from the raw numbers in CSV
  • others/others-benchmark.png - that CSV converted to chart form

feedjira-benchmarks's People

Contributors

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