- Published on
Loading Sitefinity faster on your dev box
- Authors
- Name
- Steve McNiven
- @stevemcniven
This is one trick I don’t really see posted anywhere related to Sitefinity performance.
Ok, so Sitefinity runs via IIS right…and IIS contains a worker process called “w3wp.exe”. By default that guy runs with Normal Priority on your system. Meaning windows doesn’t treat its processing as being any more or less important than the other processes.
…but we think it is ;)
So turn it’s priority up to high to get a boost on your dev\live servers.
So as you can see above in the “User Name” field, each of my sites runs in it’s own app pool which can be identified easier (and obviously isolated).
You might also want to set your database process to high as well since SF clearly talks to the DB quite a bit. In my case it’s “sqlservr,exe” (the one using the most ram).
I’ve found this significantly boosts my dev time going from a cold build to page load. I have also yet to encounter anything “strange” by doing this, and this very site you’re on now has the process set to High.
Keep in mind this only works while the process is active, so if w3wp shuts down you’ll need to do this again. There are utilities you can get to save your prefs permanently though. I have not tried this one, but…