{"id":19838961,"url":"https://github.com/objectionary/benchmark","last_synced_at":"2025-05-01T18:31:41.849Z","repository":{"id":213367811,"uuid":"733919301","full_name":"objectionary/benchmark","owner":"objectionary","description":"Java compilation and optimization benchmark that integrates EO, JEO, and Normalizer","archived":false,"fork":false,"pushed_at":"2024-11-06T05:16:06.000Z","size":385,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-06T06:17:06.792Z","etag":null,"topics":["benchmark","eolang","optimization","optimization-algorithms","optimizer"],"latest_commit_sha":null,"homepage":"http://www.objectionary.com/benchmark/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/objectionary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-12-20T12:37:47.000Z","updated_at":"2024-11-06T05:08:00.000Z","dependencies_parsed_at":"2024-02-02T06:23:54.123Z","dependency_job_id":"266bb3c3-d9e0-4835-82ca-04debdb09e8b","html_url":"https://github.com/objectionary/benchmark","commit_stats":null,"previous_names":["objectionary/benchmark"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fbenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fbenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fbenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fbenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objectionary","download_url":"https://codeload.github.com/objectionary/benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224270865,"owners_count":17283866,"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":["benchmark","eolang","optimization","optimization-algorithms","optimizer"],"created_at":"2024-11-12T12:19:44.199Z","updated_at":"2025-05-01T18:31:41.840Z","avatar_url":"https://github.com/objectionary.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stream Fusion Benchmark\n\n[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)\n[![DevOps By Rultor.com](https://www.rultor.com/b/objectionary/eo)](https://www.rultor.com/p/objectionary/eo)\n[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)\n\n[![mvn](https://github.com/objectionary/benchmark/actions/workflows/mvn.yml/badge.svg)](https://github.com/objectionary/benchmark/actions/workflows/mvn.yml)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE.txt)\n\nIt's a benchmark that puts together:\n\n* [eo-maven-plugin](https://github.com/objectionary/eo)\n* [jeo-maven-plugin](https://github.com/objectionary/jeo-maven-plugin)\n* [eo-phi-normalizer](https://github.com/objectionary/eo-phi-normalizer)\n\nThe goal is to test the performance of Java Stream API before\nthe \"stream fusion\" optimization\nand after it, then comparing the results. Intermediate artifacts are in this\n[`summary.html`](https://www.objectionary.com/benchmark/summary.html).\nWe partially reuse [the benchmark](https://github.com/biboudis/clashofthelambdas)\nearlier suggested by\n[Biboudis et al.](https://arxiv.org/abs/1406.6631)\nand used by\n[Møller et al.](https://dl.acm.org/doi/abs/10.1145/3428236).\n\n\u003c!-- benchmark_begin --\u003e\nThis is the summary of the tests performed\nby openjdk 23.0.1,\non 2024-11-26\nat 11:19,\non Linux with 4 CPUs,\nin [this GHA run][benchmark-gha]\n(the numbers are in milliseconds):\n\n| Test method | Before | After | Diff | Gain |\n| --- | --: | --: | --: | --: |\n| [`Big.plain`](https://github.com/objectionary/benchmark/blob/master/src/main/java/org/eolang/benchmark/Big.java) | `32.55` | `34.03` | `+1.48` | `+4%` |\n| [`Big.streams`](https://github.com/objectionary/benchmark/blob/master/src/main/java/org/eolang/benchmark/Big.java) | `125.32` | `127.62` | `+2.30` | `+1%` |\n| [`Even.plain`](https://github.com/objectionary/benchmark/blob/master/src/main/java/org/eolang/benchmark/Even.java) | `44.96` | `58.41` | `+13.45` | `+29%` |\n| [`Even.streams`](https://github.com/objectionary/benchmark/blob/master/src/main/java/org/eolang/benchmark/Even.java) | `67.85` | `67.97` | `+0.11` | `+0%` |\n| [`Sum.plain`](https://github.com/objectionary/benchmark/blob/master/src/main/java/org/eolang/benchmark/Sum.java) | `36.95` | `37.89` | `+0.94` | `+2%` |\n| [`Sum.streams`](https://github.com/objectionary/benchmark/blob/master/src/main/java/org/eolang/benchmark/Sum.java) | `37.15` | `38.84` | `+1.68` | `+4%` |\n\nThe entire test took 384 seconds.\n\u003c!-- benchmark_end --\u003e\n\n## How to Contribute\n\nFork repository, make changes, then send us\na [pull request](https://www.yegor256.com/2014/04/15/github-guidelines.html).\nWe will review your changes and apply them to the `master` branch shortly,\nprovided they don't violate our quality standards. To avoid frustration,\nbefore sending us your pull request please run full build:\n\n```bash\nmake\n```\n\nYou will need [Maven 3.3+](https://maven.apache.org) and Java 11+ installed.\n\n[benchmark-gha]: https://github.com/objectionary/benchmark/actions/runs/12029379206\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectionary%2Fbenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjectionary%2Fbenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectionary%2Fbenchmark/lists"}