Skip to content
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

[Arc] Performance is not good. There is a different implementation, please use it #13126

Closed
arabshapt opened this issue Jun 23, 2024 · 5 comments
Labels
extension: arc Issues related to the arc extension extension Issues related to one of the extensions in the Store feature request New feature or improvement status: stalled Stalled due inactivity

Comments

@arabshapt
Copy link

arabshapt commented Jun 23, 2024

Extension

https://www.raycast.com/the-browser-company/arc

Description

It would be perfect if you could improve performance. There is alfred workflow that does the same but much faster. Both are using applescripts. It is written in JS, so you will understand it. Please make it faster. I wanted to extend it to switch to specific tabs using shortcuts and without raycast UI popping up, but the delay of the current script is a dealbreaker. I looked into it and I know that looping through all those windows, tabs and spaces takes time, but alfred(using the applescript manages to do it faster)(The speed has nothing to do with alfred, but only with applescript that is used hier that needs to change).

From my investigation I can tell you where I think the difference lies:
Current implementation just passes Tab Object that doesn't contain coordinates of the tab in Art, so once the user chooses one of the options(tabs) you loop through everything again, which is unnecessary. Extend the Tab Object to also include not tab.id, but spaceIndex, windowIndex and tabIndex. Then you can just go there. 🙂

I hope arc implements this feature natively...

https://alfred.app/workflows/caicailiushui/arc-tabs-and-spaces/

Who will benefit from this feature?

No response

Anything else?

No response

@arabshapt arabshapt added extension Issues related to one of the extensions in the Store feature request New feature or improvement labels Jun 23, 2024
@raycastbot raycastbot added the extension: arc Issues related to the arc extension label Jun 23, 2024
@raycastbot
Copy link
Collaborator

raycastbot commented Jun 23, 2024

Thank you for opening this issue!

🔔 @thomaspaulmann @zach-fuller @ankitchouhan1020 @pernielsentikaer @danpalmer @rgrunberg @tleo19 @loris @bdsqqq @xilopaint @jayeshbhole @hinzed1127 @omar-salama you might want to have a look.

💡 Author and Contributors commands

The author and contributors of the-browser-company/arc can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Aug 12, 2024
@xilopaint
Copy link
Contributor

Which extension command are you talking about, and how many tabs do you have open? The extension seems fast to me.

@raycastbot raycastbot removed the status: stalled Stalled due inactivity label Aug 12, 2024
@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Oct 1, 2024
@raycastbot
Copy link
Collaborator

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.

@raycastbot raycastbot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension: arc Issues related to the arc extension extension Issues related to one of the extensions in the Store feature request New feature or improvement status: stalled Stalled due inactivity
Projects
None yet
Development

No branches or pull requests

3 participants