This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class IndexController extends Zend_Controller_Action { | |
public function indexAction() { | |
die("42"); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile with | |
// g++ -Wall microbench.cc -lboost_system -lboost_chrono -Ofast -o microbench | |
// | |
#include <string.h> | |
#include <iostream> | |
#include <boost/chrono.hpp> | |
#include <iostream> | |
#include <iomanip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This code is in the public domain. | |
*/ | |
/* | |
* This code is for "Building an embedded column store database with | |
* upscaledb - part 3" | |
* http://upscaledb.com/blog/0008-building-an-embedded-column-store-database-part3.html | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires MaskedVbyte from github.com/lemire/MaskedVByet | |
# requires libfor from github.com/cruppstahl/libfor | |
all: | |
g++ test.cc -o test -Wall -I .. \ | |
../MaskedVByte/varintdecode.o \ | |
../MaskedVByte/varintencode.o \ | |
../libfor/libfor.a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPSCALEDB=/home/ruppc/prj/upscaledb | |
INCDIR=-I$(UPSCALEDB)/include | |
LIBDIR=-L$(UPSCALEDB)/src/.libs | |
LIBS=-lleveldb -ldb -lboost_system -lboost_thread -lcrypto -lpthread -lsnappy -lz -ltcmalloc_minimal -lprotobuf -ldl | |
CC=g++ -std=c++11 -g -O0 | |
all: | |
$(CC) benchmark.cc -o benchmark \ | |
$(UPSCALEDB)/src/.libs/libupscaledb.a \ | |
$(INCDIR) $(LIBDIR) $(LIBS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These files were used to create the benchmarks for the release of upscaledb-mysql 0.0.1. | |
=== sysbench | |
Use sysbench 1.0. The shell script loads and runs the tests. | |
I ran various tests - with and without transactions, with LOCK TABLE etc. Results are in sysbench-results.txt. | |
=== uqi1 | |
This script performs a `SELECT COUNT(*) FROM table`. The table was from TPC-C order_line with 6 million rows. |