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

Aperta
#672 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, python

Direzione di ricerca

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.

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

Descrizione

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?

Lingua principale
Python
Stelle
2.9k
Fork
218
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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

Tutte le issue di TranscryptOrg/Transcrypt

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.