profiling

Logging ODBC, SQL Server

末鹿安然 提交于 2019-12-21 14:58:27
问题 How to log, trace or get queries that an application send to Microsoft SQL Server 2008 thru ODBC driver (without modifying application...) Maybe it can be done with SQL Server itself or ODBC has some query logging? 回答1: @davispuh, you can use the SQL Profiler to trace SQL statements. you can also use the ODBC Tracing. 回答2: To Create a Trace using SQL-Profiler: On the File menu of SQL-Profiler, click New Trace, and connect to an instance of SQL Server. The Trace Properties dialog box appears.

Java Profiling in Continuous Integration

廉价感情. 提交于 2019-12-21 12:56:17
问题 Are there any Java profiling tools that integrate with CI servers like Jenkins? I've no idea if such things exist, but what would be splendid would be some kind of test framework that yielded results like YourKit Profiler's snapshots. These would be invoked by the CI server, and the results stored along with the build. The result being that one could see a history of performance changes in code units, to aid more holistic performance investigations at a system integration level. 回答1: Take a

Collecting LLVM Edge Profiling with llvm-prof

老子叫甜甜 提交于 2019-12-21 12:36:52
问题 I'm using these commands to compile the code below in order to collect edge/blocks profiling in trunk-llvm: clang -emit-llvm -c sort.c -o sort.bc opt -insert-edge-profiling sort.bc -o sort_prof.bc clang sort_prof.bc -lprofile_rt -L/llvms/lib -o sort_prof then I run the program and display the profiling information using llvm-prof sort_prof.bc, and the result is: ===-------------------------------------------------------------------------=== Function execution frequencies: ## Frequency 1. 4.3e

What tools are out there for profiling stored procedures in SQL server other than the MS profiler?

会有一股神秘感。 提交于 2019-12-21 08:30:13
问题 It seems like there should be better tools out there for profiling sql than SQL Server Profiler. It takes forever to set up a profile session. I'm looking for a tool which is more like VS profiler. Just choose a stored procedure, and run it with a set of parameters, and what I should get is a profiling graph showing how long each query, SP call and function call takes, and allow me to drill down to individual statements with the parameters which were passed in. I've seen some for Oracle, but

Daemon Threads, thread count, and total started thread count

戏子无情 提交于 2019-12-21 08:22:40
问题 I have a simple code for a multi-threaded echo server in Java (it returns whatever received back to the clients). I'm profiling various resources of the server including the thread statistics. Below are some of these statistics as per number of connected clients. My questions is for the baseline (# of clients 0) compared with non-baselines! 1) why when a single client connects, the total thread count increases by 2? (for the rest, it makes sense to increment by 1) 2) What are the two non

Daemon Threads, thread count, and total started thread count

房东的猫 提交于 2019-12-21 08:22:16
问题 I have a simple code for a multi-threaded echo server in Java (it returns whatever received back to the clients). I'm profiling various resources of the server including the thread statistics. Below are some of these statistics as per number of connected clients. My questions is for the baseline (# of clients 0) compared with non-baselines! 1) why when a single client connects, the total thread count increases by 2? (for the rest, it makes sense to increment by 1) 2) What are the two non

Profiling a mex-function

你。 提交于 2019-12-21 08:03:20
问题 I have just rewritten a Matlab program in c++ as a mex-function to speed things up, with fantastic results. This optimization decision was a very very good idea, with up to a factor 20 speed up without threading. It still left me curious about what the mex-function was spending time on and wanting to identify possible bottlenecks. I'm looking for a way to profile mex-functions. The matlab profiler is not much use, and the other profilers I've downloaded (both free and trial) all want an

Profiling a mex-function

倖福魔咒の 提交于 2019-12-21 08:01:12
问题 I have just rewritten a Matlab program in c++ as a mex-function to speed things up, with fantastic results. This optimization decision was a very very good idea, with up to a factor 20 speed up without threading. It still left me curious about what the mex-function was spending time on and wanting to identify possible bottlenecks. I'm looking for a way to profile mex-functions. The matlab profiler is not much use, and the other profilers I've downloaded (both free and trial) all want an

Profiling C# / .NET applications

戏子无情 提交于 2019-12-21 07:41:13
问题 How do you trace/profile your .NET applications? The MSDN online help mentions Visual Studio Team (which I do not possess) and there is the Windows Performance Toolkit. But, are there other solutions you can recommend? Preferably (of course) a solution that works without changing the code (manually) and that can be integrated in Visual Studio. 回答1: See also this question. JetBrains dotTrace is the best .NET profiler I have found (and I have tried pretty much every one there is), because it is

Profiling C# / .NET applications

点点圈 提交于 2019-12-21 07:41:07
问题 How do you trace/profile your .NET applications? The MSDN online help mentions Visual Studio Team (which I do not possess) and there is the Windows Performance Toolkit. But, are there other solutions you can recommend? Preferably (of course) a solution that works without changing the code (manually) and that can be integrated in Visual Studio. 回答1: See also this question. JetBrains dotTrace is the best .NET profiler I have found (and I have tried pretty much every one there is), because it is