Skip to content

Gem is abnormally slow at compiling source-maps #12

Open
@TylerHorth

Description

@TylerHorth
Compiler Compile time Compile time w/ Source maps
CoffeeScript CLI 18s 18s
coffee-script-source gem (Node) 18s 18s
Coffee-Script gem (irb) 18s 220s

I tested with a single CoffeeScript file of ~20,000 lines to try to rule out environment spin up times. The generated source map for this file is ~20% smaller than the generated Javascript. This seems to be a problem to do with the ExecJS interface, but I don't know where to start seeing as it is only affecting compile time with source maps enabled.

cc @rafaelfranca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions