Skip to content
No description, website, or topics provided.
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
results
.gitignore
.ruby-gemset
.ruby-version
00_prepare_data.rb
01_parent_id_plus_timestamps.rb
02_parent_id_plus_timestamps_plus_snapshots.rb
03_ltree_plus_timestamps.rb
04_closure_tables_plus_timestamps.rb
Gemfile
Gemfile.lock
README.md
historic_trees.md
run_all.rb
shared.rb
test_runner.rb
test_runs.yml

README.md

Historic trees with temporal data

See post for context.

Preparing data

ruby ./00_prepare_data.rb -o small_set.dat --initial-inserts 100 --update-num 50 --reads-per-update 200
ruby ./00_prepare_data.rb -o medium_set.dat --initial-inserts 500 --update-num 500 --reads-per-update 200
ruby ./00_prepare_data.rb -o small_set.dat --initial-inserts 100 --update-num 5000 --reads-per-update 200

Running tests

Check the test_runs.yml file for db config, then run:

ruby ./run_all.rb

Results will be output to test_results.yml

You can’t perform that action at this time.