-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
Description
When I enable the IMAP Extension and have Tailscale DNS on, basic php -v takes 5 seconds.
I am not running any code. Just showing the version
With Tailscale DNS + Imap
❯ time php -v
PHP 8.2.6 (cli) (built: May 14 2023 20:59:34) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies
with blackfire v1.86.8~mac-x64-non_zts82, https://blackfire.io, by Blackfire
________________________________________________________
Executed in 5.08 secs fish external
usr time 52.85 millis 0.16 millis 52.69 millis
sys time 19.65 millis 1.43 millis 18.22 millis
With Tailscale DNS Without Imap
❯ time php -v
PHP 8.2.6 (cli) (built: May 14 2023 20:59:34) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies
with blackfire v1.86.8~mac-x64-non_zts82, https://blackfire.io, by Blackfire
________________________________________________________
Executed in 80.25 millis fish external
usr time 51.73 millis 0.14 millis 51.59 millis
sys time 21.23 millis 1.37 millis 19.86 millis
Does the imap extension some DNS stuff on extension start which triggers this behaviour?
PHP Version
PHP 8.2.6
Operating System
macOS 14.0beta3