Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Reduce the performance gap for repeated string eval

Aperta
#1,911 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java, perl

Direzione di ricerca

Start with dev/bench/benchmark_eval_string.pl and compare its runs under ./jperl and system perl; record matching runtime and environment details. Then trace PerlOnJava’s repeated string-eval execution path, which the issue does not locate. Done means reducing the measured gap while preserving Perl behavior and keeping the comparison reproducible.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:performance enhancement

Summary

Reduce the performance gap between PerlOnJava and system Perl for repeated string eval.

Reproduction

Run the same benchmark on each runtime:

./jperl dev/bench/benchmark_eval_string.pl
perl dev/bench/benchmark_eval_string.pl

Observed results (1,000,000 iterations):

Runtime Wall clock CPU Throughput
PerlOnJava (jperl) 63 s 45.85 s 21,811/s
Perl 5 s 3.84 s 260,417/s

PerlOnJava is about 12x slower for this workload.

Goal

Investigate the repeated string-eval path and reduce the performance difference while preserving Perl behavior. Keep the benchmark reproducible and compare both runtimes under matched conditions.

Java version, OS, Perl version, and PerlOnJava commit were not recorded with this run.

Lingua principale
Perl
Stelle
65
Fork
8
Merge medio
6h 6m
PR unite (30g)
185

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fglock/PerlOnJava

Tutte le issue di fglock/PerlOnJava

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.