Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which of my Visual Studio extensions are slowing?

My Visual Studio 2012 has become slow to open. In 'safe mode' it's fast again. Presumably some extensions are slowing Visual Studio. Which?

Is there an analogue of Internet Explorer's feature which shows load time for each extensions? http://blogs.msdn.com/b/ie/archive/2009/07/18/how-to-make-ie-open-new-tabs-faster.aspx

like image 908
Colonel Panic Avatar asked May 01 '13 14:05

Colonel Panic


2 Answers

Thanks Jesse, ActivityLog.xml has the information I want. Unfortunately, it's unreadable. I wrote a Python script to extract the relevant details

import sys
from bs4 import BeautifulSoup
try:
    f = open(sys.argv[1])
except IndexError:
    f = sys.stdin

soup = BeautifulSoup(f)

loads = dict()

for entry in soup.find_all('entry'):
    description = entry.find('description')
    if not (description and "package load" in description.get_text() ):
        continue

    print(entry)
    print()
like image 125
Colonel Panic Avatar answered Nov 15 '22 08:11

Colonel Panic


I solved my similar problem with "The Activity Log Profiler". It's just an xsl-Stylesheet for the Activity Log and shows the HotSpots and Errors in current ActivityLog.xml

https://github.com/lcorneliussen/ActivityLogProfiler

There is also a Blog-Entry about it: http://startbigthinksmall.wordpress.com/2011/11/08/activity-log-profiler-find-out-which-extension-is-slowing-down-your-visual-studio/

like image 20
Henning_Me Avatar answered Nov 15 '22 09:11

Henning_Me