No minification(-nomin) result is not the same when execute

Abierto
#672 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
javascript, python

Línea de trabajo

Reproduce the issue by compiling the same source with and without the -nomin option, then compare the generated JavaScript and execution behavior. Trace the minification path and existing compiler tests; done means the non-minified output executes with the same result as the minified output and the regression is covered by a test.

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

Descripción

IS: bug?

Transcypt compilation time becomes too slow as the size and the number of source files grows. So, I tried to compile without minification by adding -nomin option. It is a lot faster!!! But unfortunately the execute result is not the same. Usually, the non-minified result throws an unpredictable error while the usual result has no error

It seems that -nomin option is not tested well because it is not default. How about setting -nomin option as default? Most time, programmers compiles a debug version, and a minified version is tested only at the end of development for distribution.

I found that most compilation time was occupied by the minification process. Without minification, the compilation time got over 10 times faster.

Is there any comment how to reduce compilation time?

Lenguaje dominante
Python
Estrellas
2.9k
Forks
218
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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 TranscryptOrg/Transcrypt

Todos los issues de TranscryptOrg/Transcrypt

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.