As of May 31, 2023, we have updated our Code of Conduct.
17 votes

Sitecore Page - First request on every page slow

It could be that you just have a dodgy rendering that is running on every page and is then cached for that page; to see if this is the case you can profile Sitecore pages. You can investigate this by ...
Steve Newstead's user avatar
12 votes

Sitecore Page - First request on every page slow

Possible answers to 1,2,3... Sounds like you need to do a bit of tuning on your caches. Sitecore has a number of "admin" pages which help you diagnose problems such as this - you can use the cache ...
Phil Burton's user avatar
  • 1,314
7 votes
Accepted

Tool to test long term execution footprint of your Sitecore solution

I'd recommend learning and using Apache JMeter. Yes, it's a technically a load testing tool, but in reality it's a highly configurable and very powerful tool to script simple and complex HTTP (and ...
Laver's user avatar
  • 565
7 votes
Accepted

Profiling Sitecore 9.1 JSS Server-Side-rendering node server

I have some code to offer to start the node process(es) with custom arguments, e.g. --prof. However, I'd first like to highlight the following bits of information about GraphQL and JSS that might ...
Adam Weber's user avatar
  • 2,245
5 votes

Optimize Homepage Load Speed

You can try below things Put Sitecore cache on particular component. Check if unnecessary JS and CSS files rendered on page, tried to render those in optimize format. It will help you to improve page ...
Rishiraj Shekhawat's user avatar
5 votes

Tool to test long term execution footprint of your Sitecore solution

Ran into a similar situation in a project, wanted to just 'smoke test' things towards the end both locally (Resharper test runner) and in CI/deployment (VStest task). Ended up creating another 'Test' ...
vandsh's user avatar
  • 1,651
4 votes

Is there a downside to enabling the Sitecore Pipeline Profiler?

Depends on what you mean by "safely". If you are investigating performance issues or metrics on your production environment - go ahead and enable it. It will add overhead, but so will any other form ...
Mark Cassidy's user avatar
  • 24.7k
4 votes
Accepted

Sitecore.Pipelines.HttpRequest.EnsureServerUrl Processor very slow

This ended up being a DNS issue; the site name was not being resolved properly. I took @maz's advice and called [System.Net.Dns]::GetHostEntry("siteHostName") in PowerShell (I didn't have Sitecore ...
Alex's user avatar
  • 133
3 votes

Optimize Homepage Load Speed

There are a few things you can check on the front end side and Sitecore side. Front End In the front end, there are multiple tools are available to check performance on mobile and desktop which also ...
Swati Gupta's user avatar
  • 2,520
3 votes
Accepted

Is there a downside to enabling the Sitecore Pipeline Profiler?

I have tried enabling pipeline profiling in production and there was no noticeable performance penalty, as long as CPU measurements (Pipelines.Profiling.MeasureCpuTime) were off. With CPU timings ...
Dmytro Shevchenko's user avatar
2 votes

Tool to test long term execution footprint of your Sitecore solution

One way is to use Selenium. They have a .NET driver which you can use to write your own script. See the getting started guide for examples on how to use Selenium. This makes it possible to randomize ...
Thomas D's user avatar
  • 1,693
2 votes

Tool to test long term execution footprint of your Sitecore solution

You could write some scripts using Casper.js which is an automation tool for Phantom.js to exercise the site. Won't cost you anything but a bit of time and Phantom.js already ships with Sitecore.
Patrick Perrone's user avatar
2 votes
Accepted

ModelBinders vs Sitecore Debug mode

I looked how Sitecore timers for debug mode are implemented, and modify my code: public class SomeTypeModelBinder : IModelBinder { public object BindModel(ControllerContext controllerContext, ...
Anton's user avatar
  • 3,711
1 vote
Accepted

How to profile Sitecore startup time in Azure

I haven't personally tried this, but you might be able to profile the startup of your Sitecore Azure instance with these two configurations: Increase the profiling session duration, configuring the ...
Alessandro Faniuolo's user avatar
1 vote
Accepted

Is the class PerformanceCounters.DataCount thread safe

Is Sitecore.Diagnostics.PerformanceCounters.DataCount thread-safe. Yes, it is. Is it accurate in the context of multiple threads? No. The DataCount class uses static instances of the ...
Matthew Dresser's user avatar
1 vote
Accepted

Enable Performance Profiler Output

Figured it out. Looked in /sitecore/admin/showconfig.aspx to see the fully merged configuration and saw that the working site had additional attributes on the site node. I added the following ...
akatakritos's user avatar
1 vote

Sitecore Page - First request on every page slow

We were facing the same problem every day because of our nightly release cycle. It seems like our application pool went to sleep and had to be woken up before we could use it. What helped us, was ...
Dilyano Senders's user avatar
1 vote

Tool to test long term execution footprint of your Sitecore solution

Have you tried Selenium? It is easy to use and you can customize your tests if you are looking for specific sections where things may go wrong(like form submitions, 404 links, regression tests not ...
Diego's user avatar
  • 5,668
1 vote

Tool to test long term execution footprint of your Sitecore solution

There are loads of tools and techniques, it all depends on what you really want to test. So stress and load test, to do it properly you'll have to use paid services. In regards to functional testing ...
Sergey Kravchenko's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible