We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
We are trying to investigate some performance issues with the php:7-fpm-alpine compared with php:7-fpm image when using php-gnupg extension
php:7-fpm-alpine
php:7-fpm
Scenarios:
php:7-fpm-alpine container:
php:7-fpm container based on debian:
In both scenarios a dummy gpg key with no passphrase was created using gpg --gen-key
gpg --gen-key
The snippet of code used for test is the following:
<? $body = "THIS IS A TEST"; $gpg = new \gnupg(); $gpg->addsignkey('<GPG_FINGERPRINT>',''); $gpg->setsignmode(\gnupg::SIG_MODE_DETACH); $signed = $gpg->sign($body); echo $signed; ?>
The results:
time php test.php real 0m 2.72s user 0m 0.01s sys 0m 0.01s
time php test.php real 0m0.246s user 0m0.031s sys 0m0.042s
Any hint would be appreciated!
The text was updated successfully, but these errors were encountered:
Seems like other users are complaining also about alpine performances: gliderlabs/docker-alpine#300
I will close this seems more adecuate to open this issue on the alpine repo.
Sorry, something went wrong.
No branches or pull requests
Hi!
We are trying to investigate some performance issues with the
php:7-fpm-alpine
compared withphp:7-fpm
image when using php-gnupg extensionScenarios:
php:7-fpm-alpine container:
php:7-fpm container based on debian:
In both scenarios a dummy gpg key with no passphrase was created using
gpg --gen-key
The snippet of code used for test is the following:
The results:
Any hint would be appreciated!
The text was updated successfully, but these errors were encountered: