Improve Application Performace
- by Gtest
Hello,
Want To Improvide Performace Of C#.Net Applicaiton..
In My Application I am using Third Party Interop/Dll To Process .doc Files.
It's a Simple Operation,
Which Pass Input/Output FilePath to Interop dll ...& dll will execute text form input file.
To Improve Performace I have Tried,
Execute 2 therad to process 32 files.(each Thread process 16 files)
Execute application code by creating 2 new AppDomains(each AppDomain Code process 16 files)
Execute Code Using TPL(Task Parellel Library)
But all options take around same time (32 sec) to process 32 files.Manually process tooks same 32 sec to process 32 files.
Just tried one thing ..when i have created sample exe to process 16 files as input & output for refrence PAth given in TextBox.
..I open 2 exe instance to process.
1 exe has differnt 16 input files & output Created with input file path
2 exe has differnt 16 input files & output Created with input file path
When i click on start button of both exe ..it use 100% cpu & Utilize both core significantly & Process Completed within 16 sec for 32 files.
Can we provide this kind of explicit prallism to Improve my applicaiton Peformace?
Thanks.