Microsoft MVP성태의 닷넷 이야기
Assembly loading failure is expensive [링크 복사], [링크+제목 복사],
조회: 9101
글쓴 사람
정성태 (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

... 16  17  18  19  [20]  21  22  23  24  25  26  27  28  29  30  ...
NoWriterDateCnt.TitleFile(s)
700정성태3/27/20079570Visual C++ : 9. 실행시에 Manifest 파일 선택
699정성태3/26/200710273TFS : 91. TeamPlain 제품 TFS 라이선스를 통해 무료 제공
698정성태3/24/200710154Vista : 40. 바탕화면 공유 API
697정성태3/24/20079212개발 환경 구성: 87. IE 7 단축키
696정성태3/24/200710167.NET 3.5 : 11. LINQ to SQL - Linq 구문이 실제로 어떤 SQL 문인지 확인하는 방법
695정성태3/23/200714551개발 환경 구성: 86. 비스타 - 무선 ad-hoc 네트워크 생성파일 다운로드1
694정성태3/22/200710145TFS : 90. 브랜치 기능에 대한 가이드를 담은 문서 [1]
693정성태3/21/200710569Debug : 11. 프로세스 정지 상태를 위한 AdPlus 사용 예
692정성태3/20/200710858TFS : 89. 개별 솔루션에 대해 사용자 정의 속성값 전달하는 방법
691정성태3/19/200710128.NET 3.0 : 16. Visual Studio 2005 ToolBox for Windows CardSpace
690정성태3/19/200710169TFS : 88. 단위 테스트 - VSTS for DB Pro
689정성태3/19/200710016개발 환경 구성: 85. ASP.NET 2.0 을 사용하여 웹 표준 사이트 제작
688정성태3/14/200710671VS.NET IDE : 27. Func-eval 기능
687정성태3/14/200710117VS.NET IDE : 26. Orcas - VC++ /MPn 스위치
686정성태3/14/20079787TFS : 87. 64비트 시스템에서의 TFS 설치
685정성태3/14/20079862VS.NET IDE : 25. Orcas - 데이터 관련 툴 기능
684정성태3/14/200710510.NET 3.5 : 10. Extension Method
683정성태3/13/200710484.NET 3.5 : 9. 새로 추가된 TraceListener - EventSchemaTraceListener
682정성태3/13/200710600.NET 3.0 : 15. XAML 내용을 XPS 문서로 변환
681정성태3/13/20079957.NET 3.5 : 8. Orcas 3월 CTP 버전에 맞게 수정된 LINQ Samples
680정성태3/13/20079957.NET : 55. 비스타의 Command Link Control 사용
679정성태3/13/20079550VS.NET IDE : 24. Orcas - ClickOnce의 기능을 이어받는 IE 임베딩 유형의 스마트 클라이언트 [2]
678정성태3/9/20079826Debug : 10. MPI 프로그램에 대한 디버깅 환경 설정
677정성태3/8/200710420.NET 3.5 : 7. Orcas 3월 CTP 에 맞는 WF/WCF 예제 코드
676정성태3/8/20079788VS.NET IDE : 23. 문자열 다국어 지원을 위한 Refactoring Tool
675정성태3/7/20079484Debug : 9. 실행 시 IL 코드 교체 프로파일러
... 16  17  18  19  [20]  21  22  23  24  25  26  27  28  29  30  ...