Skip to content

Compilation slow? #8

@der-flo

Description

@der-flo

I'm interested in your idea of UI components, especially the handover to JavaScript. So I check out your rails sample app. It worked as expected but it was quite slow, at least in the eyes of a Rails developer.
The rendering of your demo#index took ~1900 ms. There are two components involved, demo/index.jsx and layouts/application.jsx. The rendering took >900 ms each.
I was able to track it down further to the call of the faucet compiler/pipeline in https://github.com/complate/complate-ruby/blob/master/lib/complate/compiler.rb#L53 which consumes almost exactly these 900 milliseconds.

Could someone the the maintainers clarify this situation?

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