Click here to Skip to main content
15,906,081 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created an application to decrypt an encrypted video file and then run it in player...

both decryption and getting URL to media player work in separate thread and media controls working in main process...

i have try running this application in many System (other then in which it is developed) its very slow. it seems like threading is not working but its working fine. when i click on decryption button it calls a thread which start decryption in it. but when i click on the button which provide url to media player it stuck for about 5-10 minutes depending on file size and system configuration and then start playing. not even this on forwarding or making video back it takes 20-30 seconds and then run.

while in a PC in which it is developed it works fine and tuned. nothing stuck...

I try to run it on other system with same configuration (hardware as well as software) but it shows same behavior...

anybody have any guess what's wrong is there...???

also please suggest me some tool using which i can test performance and know which process making it slow and from which reason.

your help will be appreciated

Regards
Hitesh Rohilla
Posted
Comments
Sushil Mate 26-Jun-13 5:30am    
URL? is it windows based or web based project? where exactly the decrypted file present?
Hitesh Rohilla 26-Jun-13 10:46am    
its windows based... but command for playing wideo is player.url="file path" thats why i use term url

1 solution

Visual studio Premium and Ultimate editions have performance profiling under the "Analyze" menu.

http://msdn.microsoft.com/en-us/library/ms182372.aspx[^]

If you don't have these editions as a one off you can download ANTS Performance Profiler as a VS plug in from RedGate.

http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/[^]

But if you like it, I'd recommend buying it as it's an excellent tool.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900