WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
254616
REGRESSION (iOS 16.4): Adding images for upload is 2.8x slower than before
https://bugs.webkit.org/show_bug.cgi?id=254616
Summary
REGRESSION (iOS 16.4): Adding images for upload is 2.8x slower than before
Jesper Bendtsen
Reported
2023-03-28 13:50:03 PDT
Add images for upload in iOS 16.4 is extremely slow, see below videos, same code and wifi. It could also be nice with an loader indicator after pressing add, people will think they haven't pressed the button... Add 60 images for upload (iOS 16.4) - 2.01 minutes!
https://vimeo.com/812571819/ed0ebb7d34
Add 60 images for upload (iOS 15.7) - 44 seconds!
https://vimeo.com/812571862/c0acf78912
Attachments
Add attachment
proposed patch, testcase, etc.
Jesper Bendtsen
Comment 1
2023-03-29 02:33:39 PDT
works fine in iOS 16.3.1
Radar WebKit Bug Importer
Comment 2
2023-03-29 08:26:23 PDT
<
rdar://problem/107368578
>
Alexey Proskuryakov
Comment 3
2023-03-29 08:29:14 PDT
Thank you for the report! Could you please provide a test case? This may depend on the exact accept attribute value, as one theory that comes to mind is format conversion taking the time. Also, what are the camera settings in both cases, are the photos JPEG or HEIC?
Jesper Bendtsen
Comment 4
2023-03-29 09:13:46 PDT
I can give you access to the test system, actually you already have access with
safaribrowsertest@hotmail.com
from another bug report? I can guide you guys to the upload area, if its okay? File input accept attribute: image/* (But is not working, another
bug 254604
) Both iPad's: Most compatible and JPEG
Aditya Keerthi
Comment 5
2023-03-29 09:56:34 PDT
Hello again! Yeah, we should have access to the test system from
https://bugs.webkit.org/show_bug.cgi?id=249967
.
Ahmad Saleem
Comment 6
2023-03-29 15:47:42 PDT
Relevant?
https://bugs.webkit.org/show_bug.cgi?id=251328
Jesper Bendtsen
Comment 7
2023-04-25 22:03:44 PDT
Any update on this? Please help my users are complaining...
Jesper Bendtsen
Comment 8
2023-05-22 05:45:16 PDT
The same thing happens in iOS 16.5 In iOS 16.3.1 adding 60 images in a file input takes about one second, in iOS 16.4 and above the same thing takes over a minute!? Public test site, scroll to "Using file inputs", add about 60 images:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#using_file_inputs
georaldc
Comment 9
2023-05-23 14:08:03 PDT
(In reply to Jesper Bendtsen from
comment #8
)
> The same thing happens in iOS 16.5 > > In iOS 16.3.1 adding 60 images in a file input takes about one second, in > iOS 16.4 and above the same thing takes over a minute!? > > Public test site, scroll to "Using file inputs", add about 60 images: >
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/
> file#using_file_inputs
Been noticing this same behavior as well where there is a delay after selecting multiple images that seems to grow the more images you select. Just curious, but have you also been experiencing this issue I brought up here?
https://bugs.webkit.org/show_bug.cgi?id=256711
Ever since 16.4.1, our users have been randomly encountering this issue now. Just happened to see your bug post as I was searching for other closely related issues (that dealt with browser uploads on IOS 16.4 and newer)
Aditya Keerthi
Comment 10
2023-05-24 11:21:06 PDT
(In reply to Jesper Bendtsen from
comment #7
)
> Any update on this? Please help my users are complaining...
Apologies for the late response. This is something we are looking into. The issue is fallout from our adoption of a new system photo picker in iOS 16.4. However, we have identified ways that we can improve the performance in WebKit.
Jesper Bendtsen
Comment 11
2023-09-19 11:57:27 PDT
Still extremely slow in iOS 17, any update?
Aditya Keerthi
Comment 12
2023-09-20 10:22:17 PDT
After additional investigation, it appears that this issue is underneath WebKit. I don't have any other updates at this time.
Alexey Proskuryakov
Comment 13
2023-09-25 12:07:12 PDT
Let's mark this as RESOLVED/MOVED for clarity. Please file any additional reports via
https://feedbackassistant.apple.com
for Apple engineers looking into this to have the most visibility into your feedback.
Jesper Bendtsen
Comment 14
2024-01-17 11:29:09 PST
Are there any plans to make this better? We have a web app where our users often take 60-70 photos for upload. It takes approx. one minute before they return to the web app after selecting images from the iOS image gallery and uploading can begin. Users think iOS has crashed, no loader is shown. Can't you go back to the old photo API before iOS 16.4, back then it was fast, there was no delay after selecting 60-70 and the upload started immediately in iOS Safari. Why is it so super slow now in iOS Safari, please explain? Doesn't feel production ready...
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug