Skip to content

Compare trove4j with hppc #34

Closed
Closed

Description

@karussell

hppc looks fast, is 2 times smaller and is apache licensed. so we should try out if speed is the same after replacing it. test:

  • preparation of contraction
  • routing speed for CH
  • routing speed for normal algorithms. as more nodes are visited => collection lib needs to be more efficient

Related to #562

Activity

  1. karussell commented on May 17, 2013

    @karussell
    MemberAuthor

    For 'Dijkstra' and area 'bavaria' hppc is 8% slower

    graph.edges=1843152
    graph.nodes=1452926
    measurement.count=50
    measurement.totalMB=426
    measurement.usedMB=134
    
    #hppc
    routing.distanceMax=364418
    routing.distanceMean=164919.81
    routing.max=2196.349687
    routing.mean=885.4062868518517
    
    #trove4j
    routing.distanceMax=364418
    routing.distanceMean=164919.81
    routing.max=1870.623144
    routing.mean=813.267201925926

    Substituting the shortcuts map with hppc' results in ~3% slower execution of bavaria preparation

  2. karussell commented on May 17, 2013

    @karussell
    MemberAuthor

    Further alternatives could be: mahout collection or fastutil (fat jar but we could shrink the size via autojar)

  3. karussell commented on Nov 3, 2014

    @karussell
    MemberAuthor

    Here is a performance overview where the new collection lib https://github.com/OpenHFT/Koloboke shines but supports only Map interface yet.

  4. karussell commented on Apr 29, 2016

    @karussell
    MemberAuthor

    There are lots of alternatives these days which might be worth to investigate, also maybe they are other which are more active or even faster: https://github.com/Vedenin/useful-java-links/#collections

  5. karussell commented on Apr 29, 2016

    @karussell
    MemberAuthor
  6. karussell commented on Jun 13, 2016

    @karussell
    MemberAuthor

    Will reopen this due to the licensing stuff needs to be simplified at some point e.g. to avoid hesitating like this. Also hppc is now used from ElasticSearch - they used trove4j before - and possibly improved hppc further

    See #878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions