Skip to content

File generation is slow #24

@fenollp

Description

@fenollp

Hi!

I'm generating *.validate.rs files with buf with

  - local: protoc-gen-prost-validate
    out: generated/rust/src/grpc
    strategy: all
    opt:
      - enable_type_names

and

buf generate --timeout 0
however this usually takes 5-7 minutes. I'd rather it took a few seconds tops.

Any ideas where the slowness could be and what could be done about it? I'll gladly help :)

Note:

  • I have 503 .proto files
  • defining 8428 messages and 1828 enums
  • and 5367 validation annotations

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