home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Using reflection for GUIControlFactory
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Frodo" data-source="post: 4200" data-attributes="member: 10277"><p>This is all nice, </p><p>but when you discuss performance you should make a clear difference in</p><p>1. startup/loading time</p><p>2. cpu% when MP is up & running</p><p></p><p>Seconly you should profile an application first to see where exactly the bottlenecks are</p><p>We're looking at GUIControlFactory.cs now and the suggestion is made that this causes 99% of all loading time. </p><p>But did anyone check this? Maybe its the jitting which takes up much time, or loading the images or,......</p><p></p><p>Second this GUIControlFactory.cs is only used for startup</p><p>when MP is running GUIControlFactory.cs is not doing anything</p><p>(so its only relevant for point 1. not for point 2)</p><p></p><p>I did extensive profiling for 2. and there almost all cpu% is spent in</p><p>guilib/GUIFont.cs to draw text. Already i made some performance enhancements to it, but thats still the biggest bottleneck for point 2.</p><p></p><p>I didnt do any profiling for point 1. yet. But i suggest todo this first</p><p>before speculating that a cast or ... is responsable for all the loading time</p><p></p><p></p><p>Frodo</p></blockquote><p></p>
[QUOTE="Frodo, post: 4200, member: 10277"] This is all nice, but when you discuss performance you should make a clear difference in 1. startup/loading time 2. cpu% when MP is up & running Seconly you should profile an application first to see where exactly the bottlenecks are We're looking at GUIControlFactory.cs now and the suggestion is made that this causes 99% of all loading time. But did anyone check this? Maybe its the jitting which takes up much time, or loading the images or,...... Second this GUIControlFactory.cs is only used for startup when MP is running GUIControlFactory.cs is not doing anything (so its only relevant for point 1. not for point 2) I did extensive profiling for 2. and there almost all cpu% is spent in guilib/GUIFont.cs to draw text. Already i made some performance enhancements to it, but thats still the biggest bottleneck for point 2. I didnt do any profiling for point 1. yet. But i suggest todo this first before speculating that a cast or ... is responsable for all the loading time Frodo [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Using reflection for GUIControlFactory
Contact us
RSS
Top
Bottom