{"id":51196970,"url":"https://github.com/objectionary/soap26-paper","last_synced_at":"2026-06-27T21:30:26.674Z","repository":{"id":351809083,"uuid":"1212532113","full_name":"objectionary/soap26-paper","owner":"objectionary","description":"A paper about stream fusion with the help of 𝜑-calculus and mapMulti(), together with all its artifacts, just accepted at SOAP'26 workshop","archived":false,"fork":false,"pushed_at":"2026-06-19T06:32:02.000Z","size":1288,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-19T08:23:14.779Z","etag":null,"topics":["deforestation","eolang","latex","latex-paper","oop","research-paper","static-analysis","stream-fusion"],"latest_commit_sha":null,"homepage":"","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":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-16T13:24:26.000Z","updated_at":"2026-06-19T06:22:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/objectionary/soap26-paper","commit_stats":null,"previous_names":["objectionary/soap26-paper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/objectionary/soap26-paper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fsoap26-paper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fsoap26-paper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fsoap26-paper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fsoap26-paper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objectionary","download_url":"https://codeload.github.com/objectionary/soap26-paper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectionary%2Fsoap26-paper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34869004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deforestation","eolang","latex","latex-paper","oop","research-paper","static-analysis","stream-fusion"],"created_at":"2026-06-27T21:30:26.008Z","updated_at":"2026-06-27T21:30:26.669Z","avatar_url":"https://github.com/objectionary.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Stream Fusion via 𝜑-Calculus (LaTeX Paper)\n\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/objectionary/soap26-paper/blob/master/LICENSE.txt)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19837769.svg)](https://doi.org/10.5281/zenodo.19837769)\n[![make](https://github.com/objectionary/soap26-paper/actions/workflows/make.yml/badge.svg)](https://github.com/objectionary/soap26-paper/actions/workflows/make.yml)\n\nThis repository contains the experimental artifacts\n  and the research paper in LaTeX.\nThe research explores a bytecode-to-bytecode optimization technique\n  for the [Java Stream API] that replaces consecutive\n  `map()` and `filter()` operations with a single `mapMulti()` call\n  introduced in Java 16.\nThe optimization is implemented declaratively through [φ-calculus] rewriting\n  rules rather than imperative bytecode manipulation.\nExperiments on nine benchmarks introduced by [Biboudis et al.] and\n  used by [Møller et al.] showed that the transformation\n  preserved all program behavior and caused no performance regressions;\n  in several cases it improved execution time.\nAll tools, benchmarks, and data in this repository\n  reproduce the results reported in the paper.\n\nThe study uses the following open source tools:\n\n* [Streamliner] to unroll stream pipelines into loops\n* [hone-maven-plugin] to fuse stream operations using [φ-calculus] rewriting rules\n* [Phino] to rewrite [φ-calculus] expressions\n* [jeo-maven-plugin] to convert bytecode to [φ-calculus] and backward\n* [JMH] to benchmark\n\nIn order to reproduce the experiments and then compile the paper,\n  you need to run:\n\n```bash\ngit clone --recurse-submodules https://github.com/objectionary/soap26-paper.git\nmake REPEAT=2 NUMBERS=15\n```\n\nIf issues occur, check the `log.txt` file.\n\nYou can provide the following variables:\n\n* `REPEAT=5` requests five repetitive test runs\n(recommended: 10)\n* `NUMBERS=7` makes our tests use seven million numbers in test arrays\n(recommended: 100)\n* `VENDORS=3` makes our tests use no more than three JVM vendors\n(recommended: 10)\n* `ITERATIONS=3` requests JMH to do three measuring iterations\n(recommended: 10)\n* `WARMUPS=2` requests JMH to do two warming-up iterations\n(recommended: 10)\n\nBy default, all these parameters are set to their minimums.\n\nRun `make clean ultimate` to use all recommended values.\n\n\u003e [!WARNING]\n\u003e The entire build, if you use recommended values,\n\u003e may take around **three hours**.\n\n## Prerequisites\n\nYou need to have these ingredients installed:\n\n* [GNU Make] 4+\n* [Docker] (even if you run it with `make`, not `docker`)\n* LaTeX with packages (see [DEPENDS.txt](/DEPENDS.txt) for their full list)\n* [Poppler]\n* [SdkMan]\n* Ruby 3.3+\n* [GNU Bash] 5+ (not the bash installed by default!)\n* [GNU coreutils], esp. `print`, `awk`, `sed`, `grep`, and `find`\n* [Vale]\n* [GNU Aspell]\n* [texsc]\n* [texqc]\n\nThe build is not supported on Windows.\nYou need either Ubuntu or macOS.\n\n## Docker\n\nYou can run all experiments and then render the paper using Docker.\nHowever, benchmark accuracy may be reduced.\nRun it like this:\n\n```bash\nmake docker REPEAT=2 NUMBERS=15\n```\n\nWhen finished, you will have `paper.pdf` built in your current directory.\n\nThe `make docker ultimate` command is not supported.\nInstead, manually specify all parameters\n  with their recommended values.\n\n## Repository Structure\n\nThe subdirectories contain:\n\n* `tex/` contains sections of the paper, in TeX.\n* `tables/` contains a few directories with standalone Make projects\nthat run benchmarks and collect their results, producing TeX tables.\n* `tikz/` contains TikZ diagrams for the paper.\n* `streamliner/` contains [Streamliner] source code, without tests and\nsome other files irrelevant to this experiment.\n\n[Poppler]: https://poppler.freedesktop.org/\n[SdkMan]: https://sdkman.io/\n[Vale]: https://vale.sh/docs/install\n[GNU Aspell]: http://aspell.net/\n[texqc]: https://rubygems.org/gems/texqc\n[texsc]: https://rubygems.org/gems/texsc\n[GNU Make]: https://www.gnu.org/software/make/\n[Streamliner]: https://github.com/cs-au-dk/streamliner\n[GNU Bash]: https://www.gnu.org/software/bash/\n[φ-calculus]: https://arxiv.org/abs/2111.13384\n[Java Stream API]: https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html\n[Biboudis et al.]: https://arxiv.org/abs/1406.6631\n[Møller et al.]: https://dl.acm.org/doi/abs/10.1145/3428236\n[hone-maven-plugin]: https://github.com/objectionary/hone-maven-plugin\n[jeo-maven-plugin]: https://github.com/objectionary/jeo-maven-plugin\n[Phino]: https://github.com/objectionary/phino\n[JMH]: https://github.com/openjdk/jmh\n[Docker]: https://www.docker.com/\n[GNU coreutils]: https://www.gnu.org/software/coreutils/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectionary%2Fsoap26-paper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjectionary%2Fsoap26-paper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectionary%2Fsoap26-paper/lists"}