profiler

''Install Prohibited\" iphone SDK

£可爱£侵袭症+ 提交于 2019-12-06 12:48:56
I am a registered Apple dev with the certificates, and mobileprofiles that i need. I have made several apps in xCode that I would like to test on my 3GS, I have registered my 3GS as one of my allowed devices but it still will not install giving the install prohibited error. The Xcode is set to same profile as my iphone has. Just dont kmow what to do. well i guess i =ll download sdk 4.1 You need to upgrade your SDK to 4.0.1 to use it with iOS 4.0.1 devices. You will get this exact message if Restrictions are enabled on the device, specifically the restriction on installing Apps. Is the iPhone

Remote Debugging and Memory Profiling in PHP

假装没事ソ 提交于 2019-12-06 11:47:43
问题 Two Questions How can I debug PHP code remotely which is lying on the server, currently I am using var_dump's to check the value of variables ? How can I see how much memory and how much time particular function is taking to execute remotely which is lying on the server, any suggestion for good profiler for this ? Note: I am talking about code which is lying remotely on the Server. 回答1: Like others said, Xdebug is your best bet. I'll just chime in here and mention a couple profilers. If you

How to profile pyspark jobs

假装没事ソ 提交于 2019-12-06 06:21:50
问题 I want to understand profiling in pyspark codes. Following this: https://github.com/apache/spark/pull/2351 >>> sc._conf.set("spark.python.profile", "true") >>> rdd = sc.parallelize(range(100)).map(str) >>> rdd.count() 100 >>> sc.show_profiles() ============================================================ Profile of RDD<id=1> ============================================================ 284 function calls (276 primitive calls) in 0.001 seconds Ordered by: internal time, cumulative time ncalls

Is there any way I can get .net stack traces in Sql Profiler, or a similar tool?

只愿长相守 提交于 2019-12-06 03:37:29
问题 In my previous job I designed and helped build a run-time(production) Profiler tool that among other cool features was able to give me .Net stack traces for every SQL statement that executed. Think of it as SQL-Server Profiler on steroids. So instead of just seeing SQL statements and duration, you also got the context in which the SQL executed. When developing DB centric apps I find this information a god-send. The problem is that since this was developed my previous company has been acquired

Multi-threaded time-based call hierarchy

江枫思渺然 提交于 2019-12-06 01:21:19
I am using eclipse to write java code. If I'm debugging some code I can set a breakpoint and follow along as the code goes through each of the functions or I can backtrack. I can also look at the call hierarchy or the references to get an idea. But that's not enough. I would like to have a some sort of time-based visualization of what each thread is doing along the process from ... let's say "point A" (pressing a button on the interface) to "point B" (getting the result). I want to see which classes/methods were called in what order. I want a good way to visualize what kind of output is coming

What is Hard Faults in XPerf

亡梦爱人 提交于 2019-12-05 22:49:19
I'm trying to profile a system with XPerf. And see that performance problems occurs when there is activity in HardFaults ! But what I cant figure out and find in google what are these Hard Faults that xperf shows. What are they related to? What do they indicate? Is there any universal remedy for such situations? Hard faults table Indeed. "First of all, a "hard fault" was previously called a "page fault" in earlier versions of Windows. Perhaps page faults were more easily understood from the name, too. A hard fault happens when the address in memory of part of a program is no longer in main

java web app profiler like this

ぃ、小莉子 提交于 2019-12-05 22:11:02
问题 Read an article on http://code.google.com/p/mvc-mini-profiler/ Any open-source profiler available like this for java web apps? Anyone started to port this one to Java environment? Thanks. 回答1: Yes, there is one java "mini profiler" project inspired by mvc-mini-profiler for the Google App Engine Java runtime (gae-java-mini-profiler). You can see a demo. 回答2: BTrace is a good agent that can be used to get the profiling information out of your JVM (anything from memory usage, thread usage, to

What techniques can you use to profile your code

前提是你 提交于 2019-12-05 20:59:37
Some of the platforms that I develop on, don't have profiling tools. I am looking for suggestions/techniques that you have personally used to help you identify hotspots, without the use of a profiler. The target language is C++. I am interested in what you have personally used. I've found the following quite useful: #ifdef PROFILING # define PROFILE_CALL(x) do{ \ const DWORD t1 = timeGetTime(); \ x; \ const DWORD t2 = timeGetTime(); \ std::cout << "Call to '" << #x << "' took " << (t2 - t1) << " ms.\n"; \ }while(false) #else # define PROFILE_CALL(x) x #endif Which can be used in the calling

Measuring a program's running time

那年仲夏 提交于 2019-12-05 16:35:36
I need a tool to measure a program's running time, like gprof. But the resolution of gprof is not good enough (about 0.01 second). oprofile seems can do it, I will try to learn how to get the data about the time info, but I can't. So, who can tell me the steps how to do it, or anyone knows other tool can do the same thing? Measuring runtime over a whole program's execution is seldom useful with high resolution; there's too much overhead that you generally don't want to include when you're profiling things. It's often better to measure the execution time of some critical path only, and even

How to profile requests in a Rails 3 application

一个人想着一个人 提交于 2019-12-05 16:27:26
How to profile requests in a Rails 3 application? This answer seems to only work in 2.*. How should I do this in Rails 3? Rack Mini Profiler is really good: https://github.com/SamSaffron/MiniProfiler/tree/master/Ruby I usually use https://github.com/newrelic/rpm new relic. It tells you which is the slowest call on render and it also gives you which line in your code does just that. Very informative and easy to use. Mike Lewis Have you checked out the built in profiler? 来源: https://stackoverflow.com/questions/5302346/how-to-profile-requests-in-a-rails-3-application