Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When I compile a 10 page code in texstudio it takes about 1 minute, but when I compile it from the overleaf it takes less time. How can I increase compilation speed in Texstudio.?
texstudio isn't involved, it is the just the editor, you are running your locally installed tex when you run from texstudio. Basically the speed depends on the speed of your processor and the speed of your filesystem. Overleaf may simply be using a faster setup.
you could use \include to include parts and \includeonly to specify individual chapters but for a 10 page document that is unlikely to make any difference, compiling 10 pages will take essentially no time, the time is most likely taken loading documents and packages. But you have given no indication of you setup, for example if your local document is in a folder tracked with dropbox or google drive or similar the overhead in syncing with the remote site can easily take longer than the actual tex
\include
to include parts and\includeonly
to specify individual chapters but for a 10 page document that is unlikely to make any difference, compiling 10 pages will take essentially no time, the time is most likely taken loading documents and packages. But you have given no indication of you setup, for example if your local document is in a folder tracked with dropbox or google drive or similar the overhead in syncing with the remote site can easily take longer than the actual tex\include
?