profiler

Is it possible using the VS2010 profiler to sample a thread other than the Main Thread in C#

徘徊边缘 提交于 2019-12-11 14:47:23
问题 I'm trying to profile an app in c#, never done any kind of profiling before. I haven't been able to find much documentation on the profiler so far maybe someone here might know better. I have an app that when I click a toolbar button, kicks off a background thread to fetch me some data. The data is then prepared and displayed on the Main thread. I'm trying to profile this process to determine whether the time taken is in the preparation of the data or in the fetching, but I'm not having much

NetBeans profiler “stops working” after 50 thread limit?

匆匆过客 提交于 2019-12-11 11:55:58
问题 I'm trying to use the NetBeans 7.1 profiler to profile a program which runs a series of hadoop tasks (local, single-process), but each task is started in a separate thread. I've set my root methods to be the map and reduce methods of the Mapper and Reducer which I'm using, but it seems like after thread 50, the netbeans profiler simply stops profiling. It doesn't recognize when the root methods are called again. The live results stop and snapshot I get at the end only seems to contain data

Symfony2 profiler (toolbar) is disabled behind an HTTPS firewall

拥有回忆 提交于 2019-12-11 11:16:43
问题 I have a problem with the Symfony2 toolbar which is hidden when I add requires_channel: https in order to force HTTPS in some protected area of the website. If I remove requires_channel: https , the Symfony2 toolbar is displayed and I can click on it to see some details about the request (the normal behaviour). If I add requires_channel: https , no toolbar is displayed although the code is present at the end of the pages: <div id="sfwdt4b56c8" class="sf-toolbar" style="display: none"></div>

How to use Laravel 4 profiler correctly

守給你的承諾、 提交于 2019-12-11 08:56:50
问题 I'm trying to improve the performance of some code in my site and found this profiler: https://github.com/loic-sharma/profiler I've followed the guidance on the site and included the following in one of the sites controllers: public function getTest() { $logger = new Profiler\Logger\Logger; $profiler = new Profiler\Profiler($logger); $profiler->startTimer('testLogging'); $data = Article::select(array( 'articles.id', 'articles.article_date', 'articles.image_link', 'articles.headline',

How do I configure NHibernate Profiler so I can enable/disable it without changing code? [closed]

吃可爱长大的小学妹 提交于 2019-12-11 07:51:56
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 6 years ago . I've been trying to follow the directions on the NHProf site but can't seem to make it work. What am I missing? I put a log4net configuration section in

Why cant I profile using vsperfmon by attaching to dllhost.exe?

梦想的初衷 提交于 2019-12-11 07:18:59
问题 I have a native C++ project that uses COM to communicate with a separate project in VB.NET. I have been able to successfully profile the native project in the past by attaching the project to a separate exe that references the native dll. I'm now trying to profile the native project by connecting to dllhost.exe. This configuration works, since I'm able to debug through dllhost, but if I try and profile the code (or just attach the profiler to dllhost while I'm debugging), the profiler stops

SQL Server Profiler - Strange Duration, StartTime is greater than EndTime

假如想象 提交于 2019-12-11 06:55:10
问题 I did a lot of searching but still could not figure out why SQL Server Profiler shown the very unusual numbers. Scenario: Our web application thrown a SqlException complaining timeout expired (once in a while), so i decided to use the SQL Profiler to trace the long running query. But the result turned out pretty strange, the Duration was a very huge number and StartTime was greater than EndTime. I really appreciate for any advice of where i should further look into. (Please take a look at the

How can I profile graph functions in TensorFlow Eager?

Deadly 提交于 2019-12-11 05:14:23
问题 In TensorFlow Eager, I can use Python's profiler to profile code that operates purely in eager mode. However, if I "compile" a python function to a graph function using tf.function or tf.contrib.eager.defun , that function becomes opaque to python - the profiler cannot enter it. I have found out how to profile a TF graph in graph mode, but I don't know how to do it with a graph function in eager mode. Specifically, if I construct a function like this, tf.enable_v2_behavior() @tf.function def

Using GPerf Tool: not working, issue with redirection?

纵饮孤独 提交于 2019-12-11 04:26:24
问题 I'm trying to profile my software in order to optimize it. I used gprof with the compilation flag -g -pg -O3 but the result are not giving me enough precision. Here is my Stacktrace of compilation: $: make clean; make; rm -f ./obj/*.o rm -f ./bin/mdk-verifier rm -f ./grammar/modal.output rm -f ./grammar/modal.tab.h rm -f ./grammar/*.cpp rm -f ./lex.backup bison -d -t -l -v -o ./grammar/modal.tab.c ./grammar/modal.y && mv ./grammar/modal.tab.c ./grammar/modal.tab.cpp g++ -O3 -g -pg -fPIC -std

Memory allocation profilers for managed and unmanaged code? [closed]

夙愿已清 提交于 2019-12-11 03:17:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 months ago . My application runs a combination of C++ (COM objects) and C# managed code. Sadly there is a n elusive memory leak I need to trace down. I've tried AQTime, which looked good on paper, but my app keeps crashing when running underneath it. Any suggestion for a better alternative? 回答1: Massif is a heap analyzer,