• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    Python
  • Created over 14 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A benchmark of some prominent C/C++ hash table implementations
How to run these benchmarks:

First, some prerequisites are:

* make
* gcc and recent g++ (4.3-ish?)
* python (hard-coded for 2.6 -- edit Makefile to use another version)
* glib
* boost
* google sparsehash
* qt

Now, run:

$ make
$ python bench.py
$ python make_chart_data.py < output | python make_html.py

Your charts are now in charts.html.

You can tweak some of the values in bench.py to make it run faster at the
expense of less granular data, and you might need to tweak some of the tickSize
settings in charts-template.html.

To run the benchmark at the highest priority possible, do this:

    $ sudo nice -n-20 ionice -c1 -n0 sudo -u $USER python bench.py

You might also want to disable any swap files/partitions so that swapping
doesn't influence performance.  (The programs will just die if they try to
allocate too much memory.)

Copyright Information
=====================

Written by Nick Welch in 2010.
No copyright.  This work is dedicated to the public domain.
For full details, see http://creativecommons.org/publicdomain/zero/1.0/

More Repositories

1

tinywm

The tiniest window manager.
C
1,485
star
2

binpack

2D bin-packing using JavaScript + canvas
81
star
3

whimsy

A dynamic, hackable window manager written in Python
Python
67
star
4

mona

mona lisa thing
C
58
star
5

markovio

super mario bros level generator
Python
43
star
6

mpris-remote

command line tool for interacting with music players that support the mpris spec
Python
25
star
7

htpicker

A simple home theater frontend
Python
11
star
8

corn

small music playing daemon
C
9
star
9

amazon-s3-php-class

Improved to use Exceptions for error handling instead of boolean false.
PHP
8
star
10

auto-id3

automatically sets id3 tags of files based on filenames and directory structures
Python
6
star
11

littlemenu

Python
5
star
12

torrentfinder

Runs multiple searches on The Pirate Bay and aggregates the results into a single HTML page.
Python
5
star
13

sqlite-constraint-msg

sqlite patch to include constraint information in error messages
3
star
14

mpd-weighted-playlist

An mpd script to maintain a playlist that is random but can be weighted by artist/album/title
Python
3
star
15

dotfiles

Vim Script
3
star
16

incise.org

my personal website
HTML
3
star
17

buildscripts

build scripts for software i prefer to build my own way
3
star
18

newjoy

move the mouse with your joystick
C
3
star
19

geoffrey

Customizable web/smartphone timer control for GeoSpring water heater
JavaScript
2
star
20

metacity-nothing-theme

Metacity theme with no window borders at all
2
star
21

gamepiler

a compiler of video game release data, via scraping of wikipedia
Python
2
star
22

juiceinformant

Electricity meter monitoring
Python
2
star
23

exopolis

Terminal-based city building game. In space.
Go
2
star
24

bitbox

C
2
star
25

bin

personal scripts
Shell
2
star
26

ubuntu-sources

My sources.list for Ubuntu
2
star
27

imageproxy_exercise

Code exercise: An http proxy that converts images to grayscale
Go
1
star
28

wombat

Pomodoro-style timer for structuring work time and breaks
Go
1
star
29

reddit-hide-button

A big giant hide button for reddit. For those who dislike seeing the same links over and over.
JavaScript
1
star
30

urllib3-testrun

A simple benchmark of urllib3
Python
1
star