Questions tagged [Profiling] (45)

1
answer

Why xhprof gives "Invalid Run Id"?

Good day! There is a website on BitrixVM (CentOS 7), php7.1 port for xhprof version 7 installed from https://github.com/rustjson/xhprof Was collected manually according to the instructions. Apache picks up the extension, in phpinfo it shows too. Start applications from the browser test file with this code:# Initialize the P...
felicity.Predovic asked April 1st 20 at 18:03
0
answer

What is closure when profiling?

Hello! Using Xhprof and xhgui look at what resources go in the query and I'm interested in items: Column Self Wall Time: Doctrine\MongoDB\Cursor::Doctrine\MongoDB\{closure} and run time 6 sec(for example) Column Memory Hogs: the same process and closure. Takes 220 mb. See, it performs something called Mongo, but what is m...
morton_Sanford asked April 1st 20 at 17:17
1
answer

As using Microsoft SSMS to list the SQL queries executed when you are working ON?

The question in the subject. The client is the program r-keeper. It works with mssql. Database access is. I would like to get a list of queries to be performed when adding a new order and production order delivery. In order to make online synchronization with other databases. PS: SSMS - I have this SQL Server Manager Studio...
anne asked March 31st 20 at 16:26
0
answer

Can't configure profiling for cli, why?

Took digitalocean. For website queries are being profiled, and when you run a command in terminal: php -d auto_prepend_file="/var/www/xhgui/external/header.php" app/console make-some The silence. Added:'profiler.enable' => function() { return true; }, why and how to fix, tell me, please?
cameron97 asked March 30th 20 at 00:10
0
answer

After installing xhprof does not find the function xhprof_enable like to be?

This CentOS 7, installed xhprof. In php.ini all written, all 10 times restarted. php -m says confidently that such an extension is, but in phpinfo it is not showing. Well, when you start Call to undefined function xhprof_enable() How to treat?
Daija39 asked March 24th 20 at 14:38
2
answers

How to avoid long GC pauses in the creation of many small objects?

Good afternoon. There is a server that performs the computation of the search path. For each calculation you create a local HashMap to record small objects Node (about 50 bytes per Node and 50 bytes per Position, which is a field Node). The server is started with parameters -Xmx12g -Xms1g -server -XX:+UseParallelGC In this...
ethelyn.Vandervort asked March 24th 20 at 13:40
1
answer

What does each column in CacheGrind?

Which means every column of the table? How to use CacheGrind to understand from which file called the function? What is in the table, list all the functions in different places in your program or the list of called functions and their number?
Casper.Strom asked March 24th 20 at 10:17
3
answers

What will faster work?

let page = elem.children[1].children[0].children[0].children[0]; //the same train can be .parentNodeorlet page = document.querySelector('.page'); // same If you know the details about how JS and DOM are friends, it is interesting to hear your opinion.
Aletha.Ma asked March 20th 20 at 12:10
1
answer

Memory expansion is increasing. Where to dig?

The JavaScript memory (i.e. DOM and variables including circuit) is not always above 11MB.Here is an example of the task Manager of Google ChromeThe Memory TabBut the difference in snapshots between which it took more than 10 hours The total memory expansion is steadily growing to 50MB per hour or more. In fairness I must s...
Enola.Schamberg asked March 19th 20 at 21:09
1
answer

What is memory leak in your code?

ProfilerThe function code where the problem isconst MAX_DB_TIMEOUT = 60000; let saveDB_timer; let db_saved_called; function saveDB(no_pause) { let now = (new Date()).getTime(); db_saved_called = db_saved_called || now; if (saveDB_timer !== undefined) clearTimeout(saveDB_timer); saveDB_Now function() { //let check1 = pe...
Cristobal asked March 19th 20 at 21:01