Microbenchmark results for Effect Zoo
Version with ZIO 2, tracing enabled.
Microbenchmark results for Effect Zoo
Version with go_prompt
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
| //> using scala "3.3.1" | |
| //> using dep "io.github.marcinzh::enterprise-core:0.2.0" | |
| package examples | |
| import turbolift.Extensions._ | |
| import enterprise.Response | |
| import enterprise.server.{Server, Config} | |
| @main def ex01 = | |
| Server.serve: |
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
| //> using scala "3.3.5" | |
| //> using dep "io.github.marcinzh::turbolift-core:0.112.0" | |
| //> using dep "io.github.marcinzh::turbolift-bindless:0.112.0" | |
| /********************************************************************************************* | |
| How to run: | |
| 1. Ensure you have Java 11 or newer | |
| 2. Install scala-cli | |
| 3. Execute `scala-cli <link-to-this-gist>` | |
| Link to the original: |
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
| //> using scala "3.3.5" | |
| //> using dep "io.github.marcinzh::turbolift-core:0.112.0" | |
| //> using dep "io.github.marcinzh::turbolift-bindless:0.112.0" | |
| /************* HOW TO RUN ******************** | |
| 1. Ensure you have Java 11 or newer | |
| 2. Install scala-cli | |
| 3. Execute `scala-cli <link-to-this-gist>` | |
| **********************************************/ |
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
| //> using scala "3.6.4" | |
| //> using dep "io.github.marcinzh::turbolift-core:0.114.0" | |
| //> using options "-language:experimental.betterFors", "-Vprint:typer" | |
| // The code is the same in both files, only scala-cli options differ | |
| import turbolift.!! | |
| import turbolift.effects.{Reader, Writer, State, Error} | |
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
| //> using scala "3.3.7" | |
| //> using dep "io.github.marcinzh::turbolift-core:0.122.0" | |
| import turbolift.!! | |
| import turbolift.effects.Choice | |
| import turbolift.Extensions._ | |
| @main def main = | |
| find_all_subsets(List(4, 5, 6)).foreach(println) | |











