-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do some benchmarks #5
Comments
We should make a proper script to generate from clinvar etc We should also make an option to use unique transcripts. Otherwise we're pulling from local cache and it's a bit unfair UTA is missing around ~80% of the transcripts, doesn't affect results as we only count good ones, but makes it take 5x as long to run to generate results we can use. Perhaps we should restrict to those to make the benchmarks quicker for them. |
Here's benchmarks on existing HGVS (with dupe transcripts) - I think using median is fairest as the mean includes local cache. This is not a totally fair benchmark as cdot.cc is in Australia (1000 miles away), while UTA is in the USA On 500 random ClinVar HGVS entries: cdot REST - median of 0.1s/HGVS (resolved 100% - 500/500) Initial results are 17x faster and resolved 5.8x more transcripts dlawrence@dlawrence-XPS-15-9560:~/localwork/cdot$ ./tests/benchmark_hgvs.py tests/test_data/clinvar_hgvs_100.tsv --rest dlawrence@dlawrence-XPS-15-9560:~/localwork/cdot$ ./tests/benchmark_hgvs.py tests/test_data/clinvar_hgvs_100.tsv --uta dlawrence@dlawrence-XPS-15-9560:~/localwork/cdot$ ./tests/benchmark_hgvs.py tests/test_data/clinvar_hgvs_500.tsv --rest dlawrence@dlawrence-XPS-15-9560:~/localwork/cdot$ ./tests/benchmark_hgvs.py tests/test_data/clinvar_hgvs_500.tsv --uta Faster work internet has approx same ratio: 1.547102÷0.086330 = 17.9 dlawrence@dlawrence-Precision-5820-Tower:~/localwork/cdot$ python3 tests/benchmark_hgvs.py --rest tests/test_data/clinvar_hgvs_500.tsv dlawrence@dlawrence-Precision-5820-Tower:~/localwork/cdot$ python3 tests/benchmark_hgvs.py --uta tests/test_data/clinvar_hgvs_500.tsv |
The text was updated successfully, but these errors were encountered: