ram_bench

A benchmark for random memory accesses (by emilk)

Ram_bench Alternatives

Similar projects and alternatives to ram_bench

  • highway

    Performance-portable, length-agnostic SIMD with runtime dispatch

  • blitsort

    Blitsort is an in-place stable adaptive rotate mergesort / quicksort.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • crumsort

    A branchless unstable quicksort / mergesort that is highly adaptive.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ram_bench alternative or higher similarity.

ram_bench reviews and mentions

Posts with mentions or reviews of ram_bench. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-30.
  • The Myth of RAM (2014)
    1 project | news.ycombinator.com | 19 Nov 2023
  • Blitsort: An ultra-fast in-place stable hybrid merge/quick sort
    7 projects | news.ycombinator.com | 30 Nov 2022
    > Radix sort is theoretically O(N),

    Nothing theoretical about it: Sorting a list of all IP addresses can absolutely and trivially be done in O(N)

    > in reality you can't do better than O(log N)

    You can't traverse the list once in any sort must be ≥N.

    > but memory access is logarithmic

    No it's not, but it's also irrelevant: A radix sort doesn't need any reads if the values are unique and dense (such as the case IP addresses, permutation arrays, and so on).

    > Edit: I misremembered, memory access is actually O(sqrt(N)): https://github.com/emilk/ram_bench

    It's not that either.

    The author ran out of memory; They ran a program that needs 10GB of ram on a machine with only 8GB of ram in it. If you give that program enough memory (I have around 105gb free) it produces a silly graph that looks nothing like O(√N): https://imgur.com/QjegDVI

    The latency of accessing memory is not a function of N.

Stats

Basic ram_bench repo stats
2
112
0.0
over 1 year ago

The primary programming language of ram_bench is C++.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com