Microbenchmark results for Effect Zoo
Version with go_prompt
| //> 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} | |
| //> 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>` | |
| **********************************************/ |
| //> 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: |
| //> 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: |
Version with go_prompt
Version with ZIO 2, tracing enabled.