Skip to content

Commit

Permalink
Fix outdated paths
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Jul 22, 2023
1 parent 8a30c05 commit 08078c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"request": "launch",
"preLaunchTask": "Compiler: Build (debug)",
"program": "${workspaceRoot}/target/debug/candy",
"args": ["run", "packages/examples/fibonacci.candy"],
"args": ["run", "packages/Examples/fibonacci.candy"],
"cwd": "${workspaceRoot}"
}
]
Expand Down
4 changes: 2 additions & 2 deletions compiler/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Create a [flamegraph](https://github.com/flamegraph-rs/flamegraph#readme):
```bash
cargo flamegraph --bin=candy --deterministic --output=<output file name> -- run <candy file>
# For example:
cargo flamegraph --bin=candy --deterministic --output=flamegraph.svg -- run packages/examples/fibonacci.candy
cargo flamegraph --bin=candy --deterministic --output=flamegraph.svg -- run packages/Examples/fibonacci.candy
```

Use [hyperfine](https://github.com/sharkdp/hyperfine#readme):

```bash
hyperfine --warmup 1 "cargo run --release -- run <candy file>"
# For example:
hyperfine --warmup 1 "cargo run --release -- run packages/examples/fibonacci.candy"
hyperfine --warmup 1 "cargo run --release -- run packages/Examples/fibonacci.candy"
```
2 changes: 1 addition & 1 deletion packages/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "candy",
"name": "🍭 Candy",
"request": "launch",
"program": "${workspaceFolder}/examples/fibonacci.candy"
"program": "${workspaceFolder}/Cxamples/fibonacci.candy"
}
]
}
2 changes: 1 addition & 1 deletion packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ cargo run -- run <file>
cargo run --release -- run <file>
```

`<file>` is the file you want to run, e.g., `./examples/echo.candy`.
`<file>` is the file you want to run, e.g., `./Examples/echo.candy`.

1 comment on commit 08078c0

@jwbot
Copy link
Collaborator

@jwbot jwbot commented on 08078c0 Jul 22, 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: 08078c0 Previous: 3c31b3c Ratio
Time: Compiler/hello_world 20168136 ns/iter (± 2872899) 18444001 ns/iter (± 307120) 1.09
Time: Compiler/fibonacci 176493454 ns/iter (± 11637403) 157850238 ns/iter (± 925564) 1.12
Time: VM Runtime/hello_world 55451 ns/iter (± 96446) 55701 ns/iter (± 1887) 1.00
Time: VM Runtime/fibonacci/15 514633599 ns/iter (± 19405082) 536741859 ns/iter (± 1901494) 0.96
Time: VM Runtime/PLB/binarytrees/6 2347008922 ns/iter (± 38058560) 2439194356 ns/iter (± 7484941) 0.96

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

Please sign in to comment.