-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d2a8eb
commit 619e6e5
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,14 @@ You can then compile a Brainfuck source file by invoking `bf <FILE>`. Several co | |
|
||
## Run tests | ||
|
||
With `make check`, a suite of test programs will be compiled and run. Most of the tests are taken from [Wikipedia](https://en.wikipedia.org/wiki/Brainfuck), while [one test](test/pi.bf) has been created by [Felix Nawothnig](mailto:[email protected]). | ||
With `make check`, a suite of test programs will be compiled and run. Most of the tests are taken from [Wikipedia](https://en.wikipedia.org/wiki/Brainfuck), while [one test](test/pi.bf) has been created by Felix Nawothnig. | ||
|
||
## Benchmarks | ||
|
||
The following test case has been used for benchmarking the compiler: `factor.b` by [Brian Raiter](https://github.com/BR903/ELFkickers/blob/master/ebfc/bf) with input `6543210987654321`. The code has been compiled with different compilers and optimization levels. | ||
|
||
| Compiler | Runtime | | ||
| -------- | ------- | | ||
| [ebfc (commit e7fba94)](https://github.com/BR903/ELFkickers/tree/e7fba942df51e756897224cff5aa853de8fafd90/ebfc) | 23 seconds | | ||
| [bfc (verion 1.7.0)](https://bfc.wilfred.me.uk/) | 8.5 seconds | | ||
| this repository | 7.8 seconds | |