Skip to content

Speeding up the preprocessor #27

@TheDGOfficial

Description

@TheDGOfficial

Is there any tweaks I don't know about to speedup the PreprocessTask? :preprocessCode often takes huge amount of time, often even more than :compileKotlin, even though the kotlin compiler compiles all files and does actual compilation, while preprocessCode just does transforming on the source code and does so on only the files containing the preprocessor directives (which is only a few files in my case)

I might profile later with asnyc-profiler, but I was wondering if there's any tweak i dont know about that could improve this with no effort. I see that preprocessor supports alternative mappings and such but I don't use those features - can I disable them for a possible speedup?

Please let me know if i should open this issue somewhere else. Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions