Skip to content

GPGME performance issue, running too slow #156

@tong-tz

Description

@tong-tz

Hey folks,

I'm currently developing some rails apis, and would like to use PGP to encrypt / sign all my api responses.

Currently this is what I get:

Encrypt + Sign: ~300 ms
Encrypt only: ~30 ms

I started a blank ruby project and did this encryption test

Which is a big surprise, since if I use the same key to do the same process (encrypt + sign) with some java libraries, it only takes ~20 ms, which is a huge difference comparing to the ~300 ms latency I'm getting here.

Is this just ruby language's nature, or I misconfigured something here?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions