It's very strange, apns-php is usually very fast.
Please, try sample_push_many.php. On my test it took about 16 seconds
to send out 10k messages.
This is an extract of the log:
ri, 07 Oct 2011 17:37:48 +0200 ApnsPHP[3372]: INFO: Trying
ssl://gateway.sandbox.push.apple.com:2195...
Fri, 07 Oct 2011 17:37:48 +0200 ApnsPHP[3372]: INFO: Connected to
ssl://
gateway.sandbox.push.apple.com:2195.
Fri, 07 Oct 2011 17:37:49 +0200 ApnsPHP[3372]: INFO: Sending messages
queue, run #1: 10000 message(s) left in queue.
Fri, 07 Oct 2011 17:37:49 +0200 ApnsPHP[3372]: STATUS: Sending message
ID 1 [custom identifier: Message-Badge-001] (1/3): 64 bytes.
Fri, 07 Oct 2011 17:37:49 +0200 ApnsPHP[3372]: STATUS: Sending message
ID 2 [custom identifier: Message-Badge-002] (1/3): 64 bytes.
Fri, 07 Oct 2011 17:37:49 +0200 ApnsPHP[3372]: STATUS: Sending message
ID 3 [custom identifier: Message-Badge-003] (1/3): 64 bytes.
[...]
Fri, 07 Oct 2011 17:38:03 +0200 ApnsPHP[3372]: STATUS: Sending message
ID 9998 [custom identifier: Message-Badge-9998] (1/3): 67 bytes.
Fri, 07 Oct 2011 17:38:03 +0200 ApnsPHP[3372]: STATUS: Sending message
ID 9999 [custom identifier: Message-Badge-9999] (1/3): 67 bytes.
Fri, 07 Oct 2011 17:38:03 +0200 ApnsPHP[3372]: STATUS: Sending message
ID 10000 [custom identifier: Message-Badge-10000] (1/3): 68 bytes.
Fri, 07 Oct 2011 17:38:04 +0200 ApnsPHP[3372]: INFO: Disconnected.