{"id":18700958,"url":"https://github.com/rabestro/jmh-number-verification-performance-test","last_synced_at":"2025-11-08T23:30:22.405Z","repository":{"id":105046159,"uuid":"461770570","full_name":"rabestro/jmh-number-verification-performance-test","owner":"rabestro","description":"Comparition of two intervals algorithms. O(n) vs O(k*i*sqrt(n)) where n - is the length of numbers sequence, i - numbers of intervasl in the sequence and  k is additional overhead of the binary algorithm.","archived":false,"fork":false,"pushed_at":"2022-02-21T08:32:52.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T05:25:28.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rabestro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-21T08:32:48.000Z","updated_at":"2022-02-21T08:32:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"16d4f414-8c46-43ed-9ed0-2f8d96802840","html_url":"https://github.com/rabestro/jmh-number-verification-performance-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Fjmh-number-verification-performance-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Fjmh-number-verification-performance-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Fjmh-number-verification-performance-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabestro%2Fjmh-number-verification-performance-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rabestro","download_url":"https://codeload.github.com/rabestro/jmh-number-verification-performance-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565650,"owners_count":19660154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T11:40:03.830Z","updated_at":"2025-11-08T23:30:22.198Z","avatar_url":"https://github.com/rabestro.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Results\n\n### Run complete. Total time: 00:45:20\n\nREMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on why the numbers are the\nway they are. Use profilers (see -prof, -lprof), design factorial experiments, perform baseline and negative tests that\nprovide experimental control, make sure the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from\nthe domain experts. Do not assume the numbers tell you what you want them to tell.\n\nNOTE: Current JVM experimentally supports Compiler Blackholes, and they are in use. Please exercise extra caution when\ntrusting the results, look into the generated code to check the benchmark still works, and factor in a small probability\nof new VM bugs. Additionally, while comparisons between different JVMs are already problematic, the performance\ndifference caused by different Blackhole modes can be very significant. Please make sure you use the consistent\nBlackhole mode for comparisons.\n\n```text\n\nBenchmark                                   (intervalsIn100M)  Mode  Cnt          Score          Error  Units\nIntervalsPrinterBenchmark.binary2Algorithm                10M  avgt    5  244496744.311 ±  5155554.463  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm                 1M  avgt    5  235835305.817 ± 19744027.256  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm               500K  avgt    5  159927408.827 ± 40901055.083  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm               100K  avgt    5   35423599.494 ±   812800.403  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm             10,000  avgt    5    4620618.076 ±   185354.016  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm              1,000  avgt    5     499591.648 ±     1754.596  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm                100  avgt    5      48349.409 ±      456.571  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm                 10  avgt    5       8194.854 ±       39.871  ns/op\nIntervalsPrinterBenchmark.binary2Algorithm                  5  avgt    5       1364.056 ±        7.001  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm                 10M  avgt    5  246599863.286 ± 14315011.163  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm                  1M  avgt    5  248860978.851 ± 27383092.339  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm                500K  avgt    5  159295195.259 ±  5797107.102  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm                100K  avgt    5   36042907.689 ±   646150.217  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm              10,000  avgt    5    4619452.490 ±   346303.789  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm               1,000  avgt    5     511820.704 ±     3547.761  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm                 100  avgt    5      50301.703 ±      298.063  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm                  10  avgt    5       9947.395 ±     7200.360  ns/op\nIntervalsPrinterBenchmark.binaryAlgorithm                   5  avgt    5       6743.103 ±       16.807  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm                 10M  avgt    5   98858222.808 ±  5834916.628  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm                  1M  avgt    5  100309356.820 ±  6795082.915  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm                500K  avgt    5   64477321.777 ±  6878527.495  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm                100K  avgt    5   12717941.851 ±   627327.316  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm              10,000  avgt    5    1234723.408 ±    16098.001  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm               1,000  avgt    5     666672.505 ±    24825.626  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm                 100  avgt    5     737259.897 ±   783091.901  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm                  10  avgt    5     748693.225 ±   936016.495  ns/op\nIntervalsPrinterBenchmark.simpleAlgorithm                   5  avgt    5     631189.339 ±   148119.917  ns/op\n\nProcess finished with exit code 0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabestro%2Fjmh-number-verification-performance-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frabestro%2Fjmh-number-verification-performance-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabestro%2Fjmh-number-verification-performance-test/lists"}