Skip to content

Commit

Permalink
Use pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke authored Nov 12, 2023
1 parent 5b11a0e commit d2e3ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Http/serverExample.candy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

main := { environment ->
sockets = ("127.0.0.1:8080",)
s = server.start environment.httpServer sockets
s = environment.httpServer | server.start sockets
print "Started an HTTP server at {sockets}"

[Request: req, sendResponse] = s | server.nextRequest
Expand Down

1 comment on commit d2e3ba6

@jwbot
Copy link
Collaborator

@jwbot jwbot commented on d2e3ba6 Nov 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiler

Benchmark suite Current: d2e3ba6 Previous: c1aae47 Ratio
Time: Compiler/hello_world 22714182 ns/iter (± 875538) 16954960 ns/iter (± 447994) 1.34
Time: Compiler/fibonacci 178224163 ns/iter (± 3281043) 139981770 ns/iter (± 1898406) 1.27
Time: VM Runtime/hello_world 52000 ns/iter (± 5388) 32085 ns/iter (± 2748) 1.62
Time: VM Runtime/fibonacci/15 81145802 ns/iter (± 339720) 56163772 ns/iter (± 560801) 1.44
Time: VM Runtime/PLB/binarytrees/6 1238716258 ns/iter (± 3282155) 852098620 ns/iter (± 9577036) 1.45

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.