[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

how to maximum your vb.net app performance

Posted on 2012-04-10
9
Medium Priority
?
209 Views
Last Modified: 2012-04-18
i have this app that only uses 15% CPU base on whatever task manager is saying at the time that the app is running.  i have an i7 processor. how do i make my app to use more than 15% cpu when the app is running to make it run faster? thank you in advance

my app was written in vb.net vs2010
0
Comment
Question by:StewSupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 37829997
well, may be that's enough for your apps processing....
people work hard to achieve less cpu usage for their Application....

i7 is too fast and too efficient to do simple tasks...
so its great that most of your job is done by using just 15% CPU...
0
 
LVL 17

Accepted Solution

by:
nepaluz earned 2000 total points
ID: 37830004
Have you tried employing parallels in your program? That will definitely  make it run faster, if indeed there is scope to apply parallelism and thus make the program run faster.

You have to remember, your code is executed sequentially, however, if you apply parallel programing, then threads will be run in parallel (thus the CPU will work harder and the program execute faster!)

DISCLAIMER: Percentage of CPU usage by your program does NOT denote how fast / intensive that your programis running!
0
 

Author Comment

by:StewSupport
ID: 37830009
what the app does is read pdf that could have 1000 pages. read each page, grab certain text on each page, split the page, sort the page and then merge it back in order. i'm runing 1100 pages and it is still running after 45 minutes. the reading, splitting was done in 25 minutes but merging seems to be taking a while.
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 17

Expert Comment

by:nepaluz
ID: 37830027
You definitely could do with parallel programming! (at least forthe merging part)
0
 

Author Comment

by:StewSupport
ID: 37830059
46 minute total. and not to mention i have ssd lol
0
 

Author Comment

by:StewSupport
ID: 37830132
so i guess i should do merging as read? but when i read i put the grabbed text into an array and sort them at the very end. if i sort as read would that slow it down even more now since i have to sort 1000 times instead of 1 time deal?
0
 
LVL 17

Expert Comment

by:nepaluz
ID: 37830241
I really do not have a clue as to how your code is laid out and would be "poking about in the dark". Could you place some code here for us to pore over and also make suggestions?
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37835389
I think its the PDF and the interop with PDF component part which is slow and I am afraid you would have no control on that.
0
 

Author Closing Comment

by:StewSupport
ID: 37862212
not really the answer i'm looking for but i found that if i use it's native language (acrobat dll) it will improve this much better than using another party for spliiting pdf file.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question