File tree Expand file tree Collapse file tree 1 file changed +19
-15
lines changed Expand file tree Collapse file tree 1 file changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -410,21 +410,25 @@ public class Main {
410
410
411
411
# ## Performance Benchmarks
412
412
413
- The following benchmarks provide an order of magnitude comparison with Perl:
414
-
415
- - ** v1.0.0** :
416
- - Lexer and Parser: Processes 50k lines per second; direct comparison with Perl is not applicable.
417
-
418
- - ** v1.1.0** :
419
- - Numeric operations: 2x faster than Perl
420
- - String operations: Comparable to Perl
421
- - Eval-string: 10x slower than Perl
422
-
423
- - ** v1.2.0** through ** v1.4.0** :
424
- - No performance related changes
425
-
426
- - ** v1.5.0** :
427
- - Example file ` life.pl` runs 3x slower than Perl
413
+ These benchmarks provide an order-of-magnitude comparison with Perl:
414
+
415
+ | Version | Feature | Performance Relative to Perl |
416
+ | ---------| ---------| ------------------------------|
417
+ | v1.0.0 | Lexer and Parser | 50k lines/second (N/A) |
418
+ | v1.1.0 | Numeric operations | 2x faster |
419
+ | | String operations | Comparable |
420
+ | | Eval-string | 10x slower |
421
+ | v1.5.0 | Example: ` life.pl` | 3x slower |
422
+ | v1.6.0 | Module compilation | 5x slower |
423
+
424
+ Notes:
425
+ - v1.2.0 through v1.4.0: No significant performance changes.
426
+ - Module compilation benchmark: Repeatedly loading ` Data::Dumper` (80 times).
427
+
428
+ Perl equivalent for module compilation benchmark:
429
+ ` ` ` perl
430
+ perl -Ilib -e ' for (1..80) { eval "use Data::Dumper;"; delete $INC{"Data/Dumper.pm"}; }'
431
+ ` ` `
428
432
429
433
# # License
430
434
You can’t perform that action at this time.
0 commit comments