Microsoft MVP성태의 닷넷 이야기
Assembly loading failure is expensive [링크 복사], [링크+제목 복사],
조회: 9074
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Assembly loading failure is expensive
http://blogs.msdn.com/junfeng/archive/2005/12/20/505832.aspx



Assembly loading failure is expensive

Assembly loading failure is very expensive.

 

  1. CLR will need to probe all the possible places before giving up. This is a lot of disk I/Os. If the application base is in UNC share or http, the performance will be much worse.
  2. If CLR can’t find anything by probing, CLR will ask Windows Installer to see if Windows Installer can provide the assembly. This process can be very expensive, depending on how many managed applications are installed on the machine.
  3. After everything is failed, CLR will raise AssemblyResolve event. The time spend is the AssemblyResolve event handler is essentially unbounded.

 

If you want to build a performant .Net framework application, you should minimize assembly loading failures as much as possible.

 

(Unfortunately due to resource fallback, there are lots of by-design assembly loading failures from resource manager.)








[최초 등록일: ]
[최종 수정일: 4/14/2006]


비밀번호

댓글 작성자
 



2005-12-20 10시16분
IE 임베딩된 형태의 스마트 클라이언트 활성화가 늦는 이유.
kevin25

1  2  3  4  5  6  7  8  9  10  11  12  13  14  [15]  ...
NoWriterDateCnt.TitleFile(s)
825정성태8/23/200710163개발 환경 구성: 110. AutoExNT 도구
824정성태8/16/200710837개발 환경 구성: 109. Code Project Browser Add-In for Visual Studio 2005
823정성태8/16/200713858IIS : 16. 인증서 검증 - CRL 체크 설정
822정성태8/16/200710773TFS : 124. VSTS - Architecture Edition Power Tools - 8월 CTP
821정성태8/15/20079792TFS : 123. TFS 2008의 팀 빌드 관련 소개
820정성태8/14/200711310.NET 3.5 : 28. 한번 더 생각해 보는 C# 3.0 의 개체 초기화 지정자(Object Initializers)
819정성태8/13/200710774TFS : 122. DB Professional - Power Tools 배포
818정성태8/13/200711184VS.NET IDE : 38. Visual Studio 2008 Shell 맛보기 [1]
817정성태8/10/200710921VS.NET IDE : 37. Customising WCF Proxy Generation in Visual Studio 2008
816정성태8/7/200711034TFS : 121. TFS 가이드 최종 버전
815정성태8/7/200710333TFS : 120. Rosario - 개선된 작업항목 추적 기능 [1]
814정성태8/6/200710554TFS : 119. MSBuild 를 이용한 위성 어셈블리 자동 빌드
813정성태7/31/200710701TFS : 118. TeamPlain 의 진화 : Team System Web Access Power Tool
812정성태7/31/200710232TFS : 117. Offline 모드 지원
811정성태7/31/200710670개발 환경 구성: 108. 문서 - AD 서버를 가상 머신으로 운영.
810정성태7/27/200710111TFS : 116. VS.NET 2008 TFS 설치 가이드 (베타)
809정성태7/27/200710682TFS : 115. 인터넷 연결 및 HTTPS 설정
808정성태7/19/200710683TFS : 114. MSF Process Guidance Generator Tool
807정성태7/19/200713944개발 환경 구성: 107. 터미널 서비스에서 꼭 알아야 할 기능 - shadow [1]
806정성태7/15/200710336TFS : 113. TFS 2008 - SharePoint 분리 및 통합 지원
805정성태7/15/200710398TFS : 112. MSBuild 프로젝트 이외의 프로젝트를 빌드
804정성태7/14/200711960TFS : 111. 팀 빌드에서 셋업 프로젝트 연결 [1]
803정성태7/14/200710385개발 환경 구성: 106. 롱혼 터미널 서비스에서의 콘솔 관리
802정성태7/13/200710679TFS : 110. 팀 빌드 - 테스트 결과를 알아내는 MSBuild Task
801정성태7/12/200710802개발 환경 구성: 105. 환경 설정 정보 암호화
800정성태7/10/200712158.NET 3.5 : 27. IQueryable 구현 방법 [3]
1  2  3  4  5  6  7  8  9  10  11  12  13  14  [15]  ...