Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Reduce the performance gap for repeated string eval

Abierto
#1,911 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java, perl

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Perl
Estrellas
65
Forks
8
Merge medio
6 h 6 min
PR fusionados (30 d)
185

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fglock/PerlOnJava

Todos los issues de fglock/PerlOnJava

Issues similares

Más issues de Perl

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.