You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the compile time for Telescope is around 1 minute from scratch on a 12 thread modern laptop. On most laptops, it will probably be a lot slower. There are several things I can think of that might speed up the telescope build.
Make sure as many as duplicate dependencies in the tree as possible are the same version.
Split the discord bot into its own process or dynamic library, would modularize the slowest part of the build that doesn't change as much. Serenity uses lots of procedural macros and packages. I was thinking I'd use tarpc to make this seamless as possible for making a process, but maybe just regular http api stuff would be less complex. I plan on exploring this fully later. I will probably need to keep serenity in the main process as well (in order to keep the non bot discord features from needing rpc), but with less features in the build. This all might be a no go if the cut down serenity doesnt build much faster.
Set a good.cargo/config.toml (I have already found much better build speed using llvm bitcode and less debuginfo but they need a special llvm install that matches rust).
The text was updated successfully, but these errors were encountered:
Currently, the compile time for Telescope is around 1 minute from scratch on a 12 thread modern laptop. On most laptops, it will probably be a lot slower. There are several things I can think of that might speed up the telescope build.
The text was updated successfully, but these errors were encountered: