6,075 questions
-3
votes
0
answers
45
views
Huge tiptap performance issue when using big documents [closed]
I have copied the text from this page (https://tiptap.dev/docs/guides/performance) to my simple editor with basic text extensions. I hold enter to produce a lot of new lines and fps drops to 1 (I'm ...
1
vote
1
answer
76
views
Perf callgraph output doesn't look as I would expect for a test program with a delay loop that should take near 100% of the time
I'm experimenting with perf record --control to profile select sections of a program.
Here's a Rust program that uses perf to profile the call to a function waste_time():
use libc;
use log::info;
use ...
0
votes
0
answers
31
views
Scalene wsl no web UI
I'm trying to profile a Python FastAPI application (which uses LangGraph) using Scalene on Windows. Since Scalene's Windows version doesn't support multithreading, I'm running it in WSL instead.
When ...
1
vote
0
answers
85
views
Fatest way to convert float array to string in python
This question came up while I was saving a large number of model-inferred embeddings to plain text. To do so, I needed to convert lists of float embeddings into strings, and I found this conversion to ...
1
vote
1
answer
44
views
How to create a html file with a link that automatically opens chrome://tracing with a particular json file?
I have a json file that contains profiling data that can be opened with chrome's trace-viewer.
I can do it manually by opening chrome://tracing, then selecting 'load' and then loading the json file.
...
0
votes
0
answers
96
views
How to set filter by module in heaptrack_gui profiler that all gui application contains only my module?
I only started to use heaptrack and can not set filtering by modules. It possible to do from gui like this
Heap track
but output very nosy and this filter doesn't influence to other tabs. Does exist ...
1
vote
1
answer
31
views
jax.numpy profiling: time spent in "ufunc_api.py:173(__call__)"
I am analyzing my numpy/python code by running it with "-m cProfile". Snakeviz shows as the entry with most time spent:
20895038 calls to ufunc_api.py:173(__call__) with the majority of the ...
1
vote
1
answer
167
views
Why is EmojiCompat consuming significant retained memory in my Flutter Android app without explicit usage?
I'm developing a Flutter application that doesn't utilize emojis in any part of the UI or logic.
However, upon profiling the app using Android Studio's Memory Profiler, I observed that androidx.emoji2....
1
vote
1
answer
52
views
How to exclude a function from Gprof activity during running
Suppose i have function foo
void foo()
{
//do something
}
Now this fn foo is now called by other function defined in other files. if gprof is enabled it would do profiling activity and subroutines ...
0
votes
0
answers
58
views
Getting errors when starting dotnet-dsrouter
I am in a powershell window on my PC and I am attempting to run 'dotnet-dsrouter android' in order to set up profiling of my app on my android device.
After hitting enter, I am seeing several errors ...
1
vote
0
answers
32
views
Starting the Flutter app in profile mode with predefined Dart VM url
I would like to analyze the CPU performance of my Flutter app on app launch using Dart DevTools. Currently I only get access to the Dart VM Service url (e.g. http://127.0.0.1:51378/36IZvt4H1b0=/) once ...
1
vote
0
answers
83
views
Profile C# Source Generators?
I have a bunch of source generators and they are all doing stuff in the background but as the codebase they operate on grows I want to make sure that they are still scaling sensibly.
According to this ...
0
votes
1
answer
67
views
SAS log cpu/real time display format
In my SAS (version 9.4M8 for Windows) log, time elapsed (CPU time and real time) is by default displayed as x.xx seconds, i.e. to a precision of 10 milliseconds. In order to profile a program ...
1
vote
0
answers
66
views
AWS ECS: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv4/
I'm trying to implement continuous profiling for our microservices running on ECS with Amazon Linux 2 hosts, but I'm running into persistent issues when trying to run profiling agents. I've tried ...
2
votes
0
answers
68
views
Why perf complains that it cannot open this L1 cache event on Zen 2?
I am trying to read cache events on a AMD Zen2:
L1d all read accesses
L1d all write accesses
L1d read misses (not shown below)
L1d write misses (not shown below)
According to the perf_event_open(2) ...
-1
votes
1
answer
67
views
How to profile startup of ASP.NET Core app locally?
I have this app which takes ~12 seconds to start and another 10 seconds to start accepting requests. Which I would like to make faster specifically for members on my team. I would be satisfied with ~3 ...
1
vote
0
answers
104
views
Radeon Developer Panel does not detect application
Very similar to this issue.
I want to test the AMD profiling "Radeon Developer Panel" tool (v3.2.0.18) using the Vulkan vkcube test application. The connection is established (green light), ...
2
votes
0
answers
47
views
Profile-Guided-Optimizations by GCC - Profile File Analysis
I am working with Profile-Guided Optimizations (PGO) with GCC, using -fprofile-generate to collect execution data and -fprofile-use to optimize your executable based on the collected profile (.gcda ...
1
vote
0
answers
105
views
Profiling of import times in NodeJS application
Is there a way to track the duration of file imports in a Node.js application?
We have a TypeScript application running in VSCode, with the target set to ES2020 and the module format set to ESNext.
...
0
votes
0
answers
24
views
How can I get a FlameGraph for a custom unikernel running in a same-arch QEMU VM?
I would like to profile a unikernel I am developing. This is an x86_64 unikernel, written in Rust, which runs on an x86_64 host using QEMU to manage the KVM VM. I have enabled frame pointers.
I don't ...
0
votes
1
answer
81
views
Assessing the contribution of communication to the runtime of an MPI program
Background
Let's say I have a complex MPI program with multiple message passing events and computations. The communication pattern is that of bidirectional ring messaging as shown in the figure below.
...
0
votes
0
answers
122
views
How can I group PyTorch Profiler events by layer hierarchy when profiling a Hugging Face Transformer?
I'm using PyTorch Profiler to inspect inference performance on a Hugging Face Transformer (e.g., Qwen model). I have code that successfully captures operator-level profiling information (like aten::mm,...
0
votes
0
answers
110
views
Can Apple Silicon GPU / MPS profiles be viewed in Chrome or other profile viewer (not XCode)?
I am trying to view MPS in software that is not XCode for which an Apple account is needed.
Most other hardware (CPU, XPU, NVIDIA GPUs, etc.) allow easy profiling in torch.
Can the profiles generated ...
1
vote
1
answer
95
views
Is it possible to profile a NET child process using Visual Studio's Profiling Tools
I have a program that launches a child process where the code I want to profile is running.
While I can run the Debug > Performance Profiler > CPU Usage on the parent process, I can't seem to ...
1
vote
0
answers
75
views
profiling of Llama 3.1 8B model on AI Accelerator
I have the profiling results of the inference of Llama 3.1 8b model by Meta. I deployed the model on the AI Accelerator. I managed to create a memory trace of the whole model from the Host to the ...