Skip to content

brandur/inet-sortsupport-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inet/cidr SortSupport test bootstrap

A test script designed to measure the performance before and after a SortSupport patch for the inet/cidr types.

The script will try a series of different sample data sizes, each containing random sets of IPv4/IPv6 addresses with random netmask sizes, raise indexes on them many times, then print the statistics for each sample data size.

Instructions

Benchmark:

Start up a Postgres server on $PGPORT, then:

direnv allow
bundle install
createdb inet-sortsupport-test
bundle exec ruby bench.rb

Algorithm testing:

direnv allow
bundle install
bundle exec ruby test.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages