dickhardt / A2P3_agent

Personal Agent for A2P3
1 stars 1 forks source link

intermediate pages showing when notification comes in #98

Closed dickhardt closed 11 years ago

dickhardt commented 11 years ago

I briefly see some intermediate pages when dealing with a notification. Not sure if it happens in other authorizations, but do see it with the notifications. Please test on a slow machine to determine what is going on.

GregTurner commented 11 years ago

The intermediate page is the home page right?

On Fri, Mar 8, 2013 at 2:04 PM, Dick Hardt notifications@github.com wrote:

I briefly see some intermediate pages when dealing with a notification. Not sure if it happens in other authorizations, but do see it with the notifications. Please test on a slow machine to determine what is going on.

— Reply to this email directly or view it on GitHubhttps://github.com/dickhardt/A2P3_agent/issues/98 .

dickhardt commented 11 years ago

I don't know … it comes in and out fast … you will have it soon to test on a slow iOS device

On Mar 8, 2013, at 2:05 PM, GregTurner notifications@github.com wrote:

The intermediate page is the home page right?

On Fri, Mar 8, 2013 at 2:04 PM, Dick Hardt notifications@github.com wrote:

I briefly see some intermediate pages when dealing with a notification. Not sure if it happens in other authorizations, but do see it with the notifications. Please test on a slow machine to determine what is going on.

— Reply to this email directly or view it on GitHubhttps://github.com/dickhardt/A2P3_agent/issues/98 .

— Reply to this email directly or view it on GitHub.

GregTurner commented 11 years ago

This is a duplicate issue I've already noticed, even on the iPhone 5.

On Fri, Mar 8, 2013 at 2:07 PM, Dick Hardt notifications@github.com wrote:

I don't know … it comes in and out fast … you will have it soon to test on a slow iOS device

On Mar 8, 2013, at 2:05 PM, GregTurner notifications@github.com wrote:

The intermediate page is the home page right?

On Fri, Mar 8, 2013 at 2:04 PM, Dick Hardt notifications@github.com wrote:

I briefly see some intermediate pages when dealing with a notification. Not sure if it happens in other authorizations, but do see it with the notifications. Please test on a slow machine to determine what is going on.

— Reply to this email directly or view it on GitHub< https://github.com/dickhardt/A2P3_agent/issues/98> .

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/dickhardt/A2P3_agent/issues/98#issuecomment-14648623 .

dickhardt commented 11 years ago

It is different than the other one.

On Mar 8, 2013, at 2:08 PM, GregTurner notifications@github.com wrote:

This is a duplicate issue I've already noticed, even on the iPhone 5.

On Fri, Mar 8, 2013 at 2:07 PM, Dick Hardt notifications@github.com wrote:

I don't know … it comes in and out fast … you will have it soon to test on a slow iOS device

On Mar 8, 2013, at 2:05 PM, GregTurner notifications@github.com wrote:

The intermediate page is the home page right?

On Fri, Mar 8, 2013 at 2:04 PM, Dick Hardt notifications@github.com wrote:

I briefly see some intermediate pages when dealing with a notification. Not sure if it happens in other authorizations, but do see it with the notifications. Please test on a slow machine to determine what is going on.

— Reply to this email directly or view it on GitHub< https://github.com/dickhardt/A2P3_agent/issues/98> .

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/dickhardt/A2P3_agent/issues/98#issuecomment-14648623 .

— Reply to this email directly or view it on GitHub.

GregTurner commented 11 years ago

Timing tests reveal that if there are no pending notifications checking for them costs 15ms. If there are pending notifications its 250ms. Serializing async call to get notifications shouldn't be noticeable when launching without notifications.

dickhardt commented 11 years ago

Please make sure you test on a slow machine!

On Mar 20, 2013, at 9:32 AM, GregTurner notifications@github.com wrote:

Timing tests reveal that if there are no pending notifications checking for them costs 15ms. If there are pending notifications its 250ms. Serializing async call to get notifications shouldn't be noticeable when launching without notifications.

— Reply to this email directly or view it on GitHub.

GregTurner commented 11 years ago

iPhone 4 takes 100ms without pending notifications. And, 1000ms with a pending notification.

GregTurner commented 11 years ago

done

dickhardt commented 11 years ago

A full second to respond is REALLY long.

On Mar 20, 2013, at 10:24 AM, GregTurner notifications@github.com wrote:

iPhone 4 takes 100ms without pending notifications. And, 1000ms with a pending notification.

— Reply to this email directly or view it on GitHub.

GregTurner commented 11 years ago

I know! The lag is somewhere in either my plugin and/or iOS. From the timing evidence it may be related to CPU and not some inherent network lag.

On Wed, Mar 20, 2013 at 3:26 PM, Dick Hardt notifications@github.comwrote:

A full second to respond is REALLY long.

On Mar 20, 2013, at 10:24 AM, GregTurner notifications@github.com wrote:

iPhone 4 takes 100ms without pending notifications. And, 1000ms with a pending notification.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/dickhardt/A2P3_agent/issues/98#issuecomment-15194272 .