Skip to content

Instantly share code, notes, and snippets.

View roa's full-sized avatar

Robert Abraham roa

View GitHub Profile
42,43c42
<
< S="${WORKDIR}/${PN}"
---
> S="${WORKDIR}/ogre_src_v1-8-0RC1"
@roa
roa / singularity_bench.log
Created February 28, 2012 13:53
singularity_bench.log
Number of Child: 4
Running tests for 1000seconds
Child: 0 Inserts done: 10000
Child: 0 Time passed: 19
Child: 0 Inserts per Sec: 526.316
Child: 0 Inserts done: 20000
Child: 0 Time passed: 40
Child: 0 Inserts per Sec: 500
Number of Child: 4
Running tests for 1000seconds
Child: 0 Inserts done: 10000
Child: 0 Time passed: 14
Child: 0 Inserts per Sec: 714.286
Child: 0 Inserts done: 20000
Child: 0 Time passed: 25
Child: 0 Inserts per Sec: 800
@roa
roa / gist:1939384
Created February 29, 2012 09:18
bench_cpu_limited
Number of Child: 4
Running tests for 50400seconds
Child: 0 Inserts done: 10000
Child: 0 Time passed: 22
Child: 0 Inserts per Sec: 454.545
Child: 0 Inserts done: 20000
Child: 0 Time passed: 44
Child: 0 Inserts per Sec: 454.545
@roa
roa / gist:1939406
Created February 29, 2012 09:25
bench_io_limited
Number of Child: 4
Running tests for 50400seconds
Child: 0 Inserts done: 10000
Child: 0 Time passed: 9
Child: 0 Inserts per Sec: 1111.11
Child: 0 Inserts done: 20000
Child: 0 Time passed: 19
Child: 0 Inserts per Sec: 1052.63
@roa
roa / gist:1939978
Created February 29, 2012 10:57
upserts_suck.log
Number of Child: 4
Running tests for 1000seconds
Child: 0 Inserts done: 10000
Child: 0 Time passed: 259
Child: 0 Inserts per Sec: 38.61
Child: 0 Inserts done: 20000
Child: 0 Time passed: 445
Child: 0 Inserts per Sec: 44.9438
@roa
roa / mac_to_sha1.C
Created March 29, 2012 10:10
mac to sha1
#include <stdio.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <string.h>
#include <openssl/sha.h>
#include <stdlib.h>
#include <unistd.h>
@roa
roa / cidList
Created May 7, 2012 09:47
example cid list
0313lqps
dv4rgsg6
uvgty9fo
08gixhxn
q4hi1cg4
dal0trwt
t2chhyb8
cxwzkzd1
9090ivvm
v6ce4edn
#!/usr/bin/perl
use strict;
use warnings;
my $testtext = 'What im saying is that it doesnt freeze. \
the app wouldnt crash no matter what i do with it. \
the breaks work ok. \
many things have been fixed. \
bugs are gone. \
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
scriptencoding latin1
" Sets how many lines of history VIM has to remember
set history=700
" Enable filetype plugin
filetype plugin on
filetype indent on