This file contains hidden or 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
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import time | |
| import uuid | |
| import random | |
| import requests | |
| import argparse | |
| import configparser |
This file contains hidden or 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
| -module(cwb_bench2). | |
| -export([run/5, status/1, stop/1]). | |
| -export([init/1, terminate/2]). | |
| -export([handle_call/3, handle_cast/2, handle_info/2]). | |
| -behaviour(gen_server). | |
| -define(HIBERNATE_DEFAULT, true). | |
| -record(q, { |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| # | |
| # view_bench.py --ndocs 100000 --doc-size 1500 | |
| # | |
| import time | |
| import argparse | |
| import requests | |
| TIMEOUT = 120 |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| """ | |
| replicator benchmark | |
| # 1kb docs, single replication | |
| rep_bench.py --ndocs 50000 --doc-size 1024 | |
| # faster polling, don't recreate the source | |
| rep_bench.py --keep-source --poll-interval 1 \ |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| # | |
| # Benchmark built-in reduce | |
| # Example: | |
| # reduce_group_bench.py --ndocs 200000 | |
| import time | |
| import argparse | |
| import requests | |
| import statistics |
OlderNewer