GithubHelp home page GithubHelp logo

graphs's People

Contributors

andreaspk avatar jitwit avatar nobrakal avatar snowleopard 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

andreaspk jitwit

graphs's Issues

Clarification about memory benchmarks.

I think "space" and "data size" could use one more sentence to explain what they actually benchmark.

For example I would have expected space to measure maximum memory usage not allocations. Only after lookup up what weigh does it became clearer that it's about allocations.

Similar "data size" was not at all self explanatory to me (until looking up the package).

Otherwise great work and I will use this as another data point to benchmark my GHC changes!

Travis

@chrisdone Can you enable travis for this repo ?

I am not able to do it from my account...

Graphs to test ?

Currently we test functions on common graphs (Path, Circuit,...). In real life, libraries are going to deal with more complex graph.

Can we extract a pattern and reproduce these "real life" graphs to benchmark functions on them ?

Interest in other graph libraries

Thanks for this - graph library performance is definitely not obvious. Do you have any interest in additional graph libraries to examine? I was a bit frustrated with fgl performance a while ago and put together a library that I thought would address most of the problems I had with it. It might be of interest to you: https://github.com/travitch/haggle (unfortunately, not up on hackage yet).

It has:

  • A few different data representations to accommodate different graph topologies, some of which are very space efficient
  • Graphs with/without edge and node labels
  • Optional mutable graph creation (in IO/ST) via a freeze and thaw interface

Select right arguments to test functions

Currently, a function like hasEdge is tested with arguments from take 2 edgesNotInGraph. But this take the two first edges not in the graphs, likely (0,0) and (0,1). This is not a good thing, we want to test for edges everywhere and the graph.

How can we select them to have a representative population, and how many ?

Plot runtime results

It would be great if you could plot the results, rather than presenting tables of numbers. Thanks!

Support criterion 1.5+

Ideally criterion < 1.5 and >= 1.5 should work.
But given the choice I would take >= 1.5 over <1.5.

Otherwise when testing against new versions of GHC it's easy to get locked into old packages via dependencies which are broken on the new release.

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.