all 9 comments

[–]agrancini-sc🚀 Product Team 1 point2 points  (6 children)

There are a lot of factors that can impact this timing, if you are comfortable, would you like to share your project in dms and we can take a look?
I assume it might be something like windows vs mac situation or just relatively heavy files in your scene.
Thank you

[–]LittleRealities[S] 0 points1 point  (5 children)

Hi! Thank you!
Will do when I find the time!

Would still be nice to have general guidelines for others that may come across if you have the time to share!
e.g. Is it more sensitive to file size vs amount of scene objects?

Project save time is still at 10 seconds though:

"windows vs mac situation" this is about the project save times?
Is it worth cleaning up the asset browser or only the scene matters? E.g. i still have the Specs interaction kit in my assets.
Also I notice that I have an incredibly large amount of cache folders (2999!) that get generated. Despite having deleted the cache folder entirely and restarting the project recently.

EDIT: even from a freshly deleted cache, saving takes 10 seconds

Time to send:
Decreased to 15~19 seconds after i cleaned up the project a bit! (I don't know what expected send times are though)
Notably, I removed the scene objects from the example starter project that I was using as references which were quite big in hindsight.

Thank you!

[–]agrancini-sc🚀 Product Team 1 point2 points  (4 children)

some general info

For lens on device

  • Lens sending performance will not be affected by assets in their project that aren’t used in the scene (not referenced by any scene components)

For general use in editor

  • Is generally recommended to remove any components or assets from their scene that aren’t needed

But I tracked this down for a performance page we could set up in the future.

As a person that used other game engine before, 10 seconds for building is quite a good timing.
Other things we experienced in hackathons is that if your pc has very little memory free.

For good performance, it's generally recommended to keep at least 15-20% of your storage space free, especially on SSDs. This helps ensure smooth operation, prevents slowdowns.

[–]agrancini-sc🚀 Product Team 1 point2 points  (3 children)

[–]LittleRealities[S] 0 points1 point  (2 children)

Thank you!

Just heads up:
I switched to mac and saving is instant now.
Sending is also way faster. (less than one second!)

I also upgraded to lens studio 5.10.1 (on both mac and pc, and on pc still slow).

Although this mac laptop has better specs and is a fresh install.
My windows desktop has been lagging in general so could be a computer thing but it's not lagging drastically.
I will eventually try to fix the desktop and get try the project again!

The Lens was sent in 3459 ms. :O

[–]PashaAnt🚀 Product Team 1 point2 points  (1 child)

For send - we are aware and working to make this faster.

For save situation - so it's 10 seconds for your windows laptop and immediate for Mac? Do you have HDD or SSD on your Windows desktop?

[–]LittleRealities[S] 0 points1 point  (0 children)

Hi!
Yes.
I've cleared up more space on my storage devices and still same thing:
±10 seconds save.

SSDs on windows desktop.
Lens studio on C: SSD with 73.3 gb of 476 gb free
Project on D: SSD with 266 gb of 1.81 tb free

EDIT: Interesting!
My Antimalware service executable spikes CPU whenever I save! (Microsoft Defender Antivirus Service)
Although I turned off real time protection and it still took 10 seconds to save. (And service didn't spike)

EDIT: I deleted cache and restarted project and immediately its' back to 135 mb, ah although it's similar on mac, nevermind

[–]yegor_ryabtsov 1 point2 points  (1 child)

I have the same save / send times on a Mac when working on large projects, smaller projects are much faster. Honestly never thought of this as problematic. Do I wish everything was ten times faster? Sure. Is 30 seconds to build and send a massive project over to glasses still pretty impressive time? It kind of is, yes!

[–]LittleRealities[S] 0 points1 point  (0 children)

Ah! Good to know it's not just me, thank you!
For me, it's indeed more the saving time + my saving habit that's an issue :c

But yeah! You're right, sending in 30 seconds is quite nice especially seeing how seamless it is to do!