🐛 Severe Performance Degradation with Shorebird Code Push Patches on iOS #737
Unanswered
augustodia
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @augustodia, Thanks for sharing that in detail with the community. Personally, I don't have experience with using Shorebird in projects that rely on my image editor. However, I can still share a few performance tips below that you might be able to apply in your configs to potentially improve performance. late final _configs = ProImageEditorConfigs(
imageGeneration: const ImageGenerationConfigs(
// This configuration starts generating the output image every time the image changes.
// Disabling it will only generate the image once the user presses "Done".
enableBackgroundGeneration: false,
// This will generate the image in separate threads, but in your case, it might be better to
// render in the main thread. Be careful, though; that could freeze the UI.
enableIsolateGeneration: false,
// The higher the output resolution, the longer it takes to generate the image.
// If possible, you can limit the size here.
maxOutputSize: Size(1440, 1440),
// By default, the editor detects how many processors are available. However, it may be
// better to just use "one" here, as Shorebird may use it for other stuff.
processorConfigs: ProcessorConfigs(processorMode: ProcessorMode.minimum),
), |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🐛 Severe Performance Degradation with Shorebird Code Push Patches on iOS
📋 Package Information
📝 Description
I'm experiencing severe performance degradation when using
pro_image_editorwith Shorebird Code Push patches on iOS.When any Shorebird patch is installed on iOS, the image editing functionality becomes extremely slow and practically unusable.
🔴 Problem Summary
🔧 Steps to Reproduce
pro_image_editor✅ Expected Behavior
❌ Actual Behavior
🖥️ Environment Details
📌 Additional Context
❓ Questions
📎 Related Information
This appears to be related to how Shorebird handles code execution on iOS. For context, here's the official Shorebird documentation on patch performance:
Shorebird Patch Performance Documentation
Note: I'm reporting this here in case there are any known issues or workarounds specific to
pro_image_editorwhen used with Shorebird.Beta Was this translation helpful? Give feedback.
All reactions