-
Notifications
You must be signed in to change notification settings - Fork 18
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
sentry-tauri tanks performance of my app in tauri v2 #22
Comments
Which platform and which version are you using? There was a previous issue where passing browser breadcrumbs to the Rust backend was generating additional breadcrumbs which caused an infinite loop. If you're using the latest version there might be additional checks required. |
I tried with Tauri-sentry plugin v0.2 as well as v0.3 Here's my Tauri info output:
I believe I've narrowed the issue to the tauri.conf.json under app.windows, adding a window with So to reproduce you can just create a new Tauri 2 project, add Tauri Sentry and change the window config to something like this: "app": {
"windows": [
{
"title": "test",
"width": 800,
"height": 600,
"useHttpsScheme": true
}
],
"security": {
"csp": null
}
}
|
I guess the change in #16 needs to also check https too! |
It also seems that adding a window NOT labeled "Main" causes the issue:
same if you only have one window not named main. Like main_window as was default in Tauri v1... |
I just migrated my (Windows) application to Tauri v2. I noticed that the application became more or less unusable due to what seems like an infinite loop somewhere in the webveiw.
The CPU went nuts and spiked around 90-100%. I tried removing sentry-tauri and the issue was gone. Re-introduce and it's back again!
I could not reproduce with a clean Tauri v2 project, so I don't understand what's causing the issue. It worked perfectly before the migration from v1 to v2.
Any ideas what's causing the issue or how I can isolate the issue to be able to report the issue better?
The text was updated successfully, but these errors were encountered: