Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Sep 12, 2024
1 parent e823b65 commit 2721e3b
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,21 +410,25 @@ public class Main {
### Performance Benchmarks
The following benchmarks provide an order of magnitude comparison with Perl:
- **v1.0.0**:
- Lexer and Parser: Processes 50k lines per second; direct comparison with Perl is not applicable.
- **v1.1.0**:
- Numeric operations: 2x faster than Perl
- String operations: Comparable to Perl
- Eval-string: 10x slower than Perl
- **v1.2.0** through **v1.4.0**:
- No performance related changes
- **v1.5.0**:
- Example file `life.pl` runs 3x slower than Perl
These benchmarks provide an order-of-magnitude comparison with Perl:
| Version | Feature | Performance Relative to Perl |
|---------|---------|------------------------------|
| v1.0.0 | Lexer and Parser | 50k lines/second (N/A) |
| v1.1.0 | Numeric operations | 2x faster |
| | String operations | Comparable |
| | Eval-string | 10x slower |
| v1.5.0 | Example: `life.pl` | 3x slower |
| v1.6.0 | Module compilation | 5x slower |
Notes:
- v1.2.0 through v1.4.0: No significant performance changes.
- Module compilation benchmark: Repeatedly loading `Data::Dumper` (80 times).
Perl equivalent for module compilation benchmark:
```perl
perl -Ilib -e 'for (1..80) { eval "use Data::Dumper;"; delete $INC{"Data/Dumper.pm"}; }'
```
## License
Expand Down

0 comments on commit 2721e3b

Please sign in to comment.