-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is it much slower than the PSD library? #171
Comments
I think it's because That said 2.453s is a lot of time, if it's possible for you to share the file I could look into performance issues and maybe improve it. |
Is it possible to set ReadOptions and discard some options based on user customization to make reading psd faster? |
This is my test psd file: https://gallery-dev-1318352346.cos.ap-guangzhou.myqcloud.com/upload/dev/gallery/public/2024-01-10/%E4%B8%BB%E5%9B%BE.psd |
Just released version It was actually mostly decoding that huge 46MB xmpMetadata field, I improved utf-8 decoding/encoding, and now it should be really fast. |
Your improvement was so timely, and now the reading time has been reduced to within 100ms. It's great, thank you! It is very helpful for my current work! |
console:
ag-psd:readPsd: 2.453s
PSD:readPsd: 909.677ms
The text was updated successfully, but these errors were encountered: