Posts

Showing posts with the label Tip

Quick and Easy Analysis of Website AJAX calls using Chrome Net Events

There are times when you need to find out what background "ajax/web endpoint calls" a webpage is making under the covers. As it happens, the other day was one of those times! - I needed to find out which Web Endpoints an internal website was calling over an HTTPS connection. Now, we all know we could use Fiddler or the fantastic Wireshark for analysing network traffic but I didn't have either of these installed on the box I was using. I was just about to install Fiddler when I remembered chrome's internal net events page. Simply open chrome.exe and navigate to: chrome://net-internals/#events . It's like having Fiddler built into the browser. Now, go pack to your web page and perform your action (in my case it was clicking a button). The great thing about this is that it works over SSL/TLS connections which means you don't need to install a SSL certificate to decrypt your traffic. Okay, it's not as powerful as Fiddler or Wireshark , but, if a...

Coarse Grained CPU-Profiling for Applications using Process Explorer

Image
Today I wanted to quickly graph an applications CPU performance and compare how different start-up flags affected the CPU performance of the application. I didn't want to open perfmon.exe and go through the rigmarole of selecting the correct perf counters yadda-yadda.. I just wanted something quick and dirty.. As we all know, Process Explorer is the swiss-army knife for all things process based. If you need to do any diagnostics on a process then chances are Process Explorer will be able to help in some way. Enter Process Explorer with its "Performance Graph" tab and this quick little tip! With Process Explorer running, go to the process in question and select the "Performance Graph" tab. You will see something like this: This tab displays the "CPU usage" for the process, the "memory usage" and the "disk I/O". All useful information. As an aside, watching to see if the memory usage increases is a basic way to see if your...