4
голосов
8ответов
746 просмотров

Profiling DLL/LIB Bloat

I've inherited a fairly large C++ project in VS2005 which compiles to a DLL of about 5MB. I'd like to cut down the size of the library so it loads faster over the network for clients who use it from a slow network share. I know how to do this by analyzing the code, includes, and project settings...

1
голосов
3ответов
292 просмотров

php profiling: what results are normal?

As testing server, my computer (Windows 7, Amd Athlon X2, 1 GB RAM) is used. My application is based on Zend Framework. It uses MySQL and Zend_Translation, and Memcached as cache. I'm getting execution time of my PHP application with simple microtime(): Execution time 0.086215972900391 (when db...

6
голосов
3ответов
1362 просмотров

How to profile network utilization of a .NET application

I have a .NET windows service that does a lot of network magic (WMI, Ping, etc - the list is very long). I would like to profile, with as much ease and detail as possible, how much bandwidth the application uses in total as well each part in the code. Are there any tools that can help me do tha...

4
голосов
4ответов
269 просмотров

Best practice for the Python-then-profile-then-C design pattern?

A popular software development pattern seems to be: Thrash out the logic and algorithms in Python. Profile to find out where the slow bits are. Replace those with C. Ship code that is the best trade-off between high-level and speedy. I say popular simply because I've seen people talk about it...

53
голосов
8ответов
61835 просмотров

Profiling a Java Application in Eclipse? (plug-in)

I'm looking to find bottlenecks in my Java application in Eclipse. I'm thinking this might be useful: http://www.eclipse.org/projects/project_summary.php?projectid=tptp.performance Any other good plug-ins to use? EDIT OK, it doesn't necessarily have to be an Eclipse plug-in. But it would be ni...

2
голосов
4ответов
1036 просмотров

Memory profiling tool for Delphi?

I set up a project and ran it, and looked at it in Process Explorer, and it turns out it's using about 5x more RAM than I would have guessed, just to start up. Now if my program's going too slowly, I hook it up to a profiler and have it tell me what's using all my cycles. Is there any similar t...

3
голосов
2ответов
1740 просмотров

Which is the best replacement for KProf?

I'm searching for a "good enough" gprof output visualizer. Kprof seems unmaintained. Profiling is an important part of (speed sensitive) applications development, but I fail to find support on the major Linux IDEs. Any suggestions ?

1
голосов
2ответов
125 просмотров

How to profile an application when deferred execution makes it difficult?

I have this .NET application, which relies on deferred execution. When I am profiling it the methods that consume most time are those who enumerates the IEnumerables. Because of this I think that the methods that must be optimized are not in the Top Time Consuming methods. Did it ever happened ...

1
голосов
6ответов
700 просмотров

Program Execution Speed Testing

I have a C# app in which I am testing 3 ways to do something with XML. I read a string of XML get a value out and then add it to a custom collection. I am testing XMLDocument, XDocument and String manipulation to find the node value, in that order recording a start and end time for each. Howev...

4
голосов
3ответов
848 просмотров

How to measure developer build time

I wanted to write a small app that would sit in my taskbar and monitor what Visual Studio was doing all day. Specifically, what I really want to figure out is how long I spend waiting on Visual Studio to build my solution each day. Could someone point me in the right direction. Is there someth...

1
голосов
4ответов
1231 просмотров

Tracing a ruby process as it is running

I am running a ruby code that has a significant number of http (web and api) requests, as well as some pretty intensive data processing. As you might expect it is pretty slow, and i want to find out where the main bottle necks are. I do not think i need a full blown profiler (yet), but want some ...

0
голосов
5ответов
1345 просмотров

Performance difference on insert-sort in C and python

I was curious about the performance of insert-sort using C and python but the results I've got just make me think if I've done something wrong. I suspected that C would be faster, but not that much. I've profiled both codes and the insert-sort function is the place where the time is most spent. ...

0
голосов
2ответов
829 просмотров

Show SQL executed per request in ASP.NET MVC using LINQ to SQL

Is it possible to show the SQL that was executed for a particular request in an ASP.NET MVC app? I would like to show how many queries, and what they were on the bottom of pages during debugging.

1
голосов
1ответов
724 просмотров

How can I profile tomcat on mac os X?

I am running an independent (I mean not inside any IDE) tomcat instance. I want to profile my application because it seams to respond really slow in a particular use case. So, I tried installing TPTP on my mac os x 10.4 (tiger) but it seams that there is no version available. Then I tried to ju...

3
голосов
1ответов
5107 просмотров

Which profiler is more accurate: OProfile or Google Performance Tools?

I found two great profilers: OProfile Google Performance Tools Have anyone tried them both? Which is better?

3
голосов
3ответов
273 просмотров

Profiling PHP app, 50% of time busy constructing classes -- is this OK?

I have a web application written in PHP. It uses MySQL for data storage. Today I decided to profile it to find bottlenecks in code and find which parts of it are running slower that the others. The usual stuff. I did a lot of work and now my page loads in less than 0.05 seconds on my desktop. Bu...

4
голосов
4ответов
2297 просмотров

How do you limit PHP memory usage when processing MySQL query results?

So I have a PHP page that allows users to download CSV for what could be a whole bunch of records. The problem is the more results the MySQL query returns, the more memory it uses. That's not really surprising, but it does pose a problem. I tried using mysql_unbuffered_query() but that didn't ma...

0
голосов
2ответов
347 просмотров

Start javascript profiling in IE from js-code

I want to start and stop js-profiling from my js-code in Internet Explorer. Like we can do it in Firefox through: - console.profile() - console.profileEnd() Does anybody know whether it is possible in IE?

9
голосов
4ответов
5857 просмотров

Tools to profile performance of .NET Compact Framework applications

The only thing I've found is EQATEC Profiler. Are there any other profilers out there that can be used to profile .NET CF apps?

0
голосов
1ответов
435 просмотров

Multiple Join or subquery query optimization

I have this query, which executes in 1 or 2 seconds for a given case: Select Count(*) as qtty From event e Join org o On o.orgID = e.orgID Join venue v On v.venueID = e.venueID Where Match( e.name, e.description ) Against ( $keywords ) And e.site_id = $site_...

3
голосов
4ответов
392 просмотров

.NET Attachable Profiler

Is there any process-attachable .NET profiler available? The problem faced is that I am currently wanting to profile an online-only ClickOnce application, which cannot be started any other way other than the website. Anybody have any ideas? Thanks, Kyle

1
голосов
8ответов
1358 просмотров

Profile CPU usage in Java on a Mac

I'm looking for a way to measure the cpu usage for different methods in my java code. I understand that this can be achieved using JNI and C, but I wouldn't know where to start... The purpose of this is to compare different algorithms, and provide qualitative results.

0
голосов
1ответов
714 просмотров

Measure Java's HttpConnection steps (header & body) for metric analysis?

Scenario I'm doing analytics of a data connection being made via Java's HttpConnection. Specifically, I want to measure: Time it took to receive the response header (not the full response) Time it took to download the data (not the full request, the response) To me, it seems as if the HttpCon...

13
голосов
7ответов
31196 просмотров

How to measure current load of MySQL server?

How to measure current load of MySQL server? I know I can measure different things like CPU usage, RAM usage, disk IO etc but is there a generic load measure for example the server is at 40% load etc?

135
голосов
5ответов
300722 просмотров

How to set the maximum memory usage for JVM?

I want to limit the maximum memory used by the JVM. Note, this is not just the heap, I want to limit the total memory used by this process.

3
голосов
6ответов
4044 просмотров

Method Profiling Using Attributes

Is it possible to profile individual methods via attributes in .NET? I am currently trying to locate some of the bottle necks in a large legacy application that makes heavy use of static methods. Integrating a framework is simply not an option at the moment. Since most of the calls use stati...

7
голосов
6ответов
7470 просмотров

Understanding Python profile output

I'm trying to use the Python profiler to speed up my code. I've been able to identify the specific function where nearly all of the time is spent, but I can't figure out where in that function the time is being spent. Below I have the profile output, which shows that "appendBallot" is the prima...

4
голосов
1ответов
2736 просмотров

How do I use !gcroot

From within visual studio immediate window with SOS debugging extension loaded I can do !dumpheap -stat Then I get something like this: total 108,014 objects Statistics: MT Count TotalSize Class Name ... 0x00be209c 135 714108 System.Object[] 0x79b925c8 21...

16
голосов
4ответов
3801 просмотров

How to profile JRuby code?

I'd like to profile my JRuby app. For MRI I always use ruby-prof, but I don't think this works on JRuby. I don't want to use a Java-profiler, because it won't give me the ruby line numbers. Is there a jruby-prof?

2
голосов
2ответов
1427 просмотров

Are there non-sampling time-profiling tools for iPhone apps?

I have tried Instruments and Shark to profile an iPhone app, but both use a data sampling approach, by regularly taking screenshots of thread stacks. I would prefer to have a full coverage profiling tool, which would record every single function call and the time spent in functions and their sub...