Comments (3)
Having the same issue on a linux system. Using the newest xdebug and webgrind versions.
Ah, I found the source of the problem. By default, cachegrind files are compressed by xdebug >= 3.1. This is not supported by webgrind as it seems. Unzipping the file fixes the issue. Maybe this should be documented.
Source of the following text: https://xdebug.org/docs/profiler#use_compression
boolean xdebug.use_compression = true #
Introduced in Xdebug >= 3.1
If enabled, the Function Trace and Profiling features will create GZip compressed files as output. This reduces diskspace.
If GZip compression is not supported by Xdebug, because it was not compiled in, then Xdebug will add a warning to its log and xdebug_info() diagnostics section.
It is enabled by default if Xdebug has GZip support, and disable if Xdebug does not have GZip support.
The QCacheGrind tool that you can use to visualise profiling information does not support reading GZip compressed profile files, whereas KCacheGrind and PhpStorm do. If you are a QCacheGrind user, you should set xdebug.use_compression to false.
from webgrind.
@wayheming So I think you can close this issue as there is already a feature request: #139
from webgrind.
@oneserv-heuser oO, it's working thank you very much.
from webgrind.
Related Issues (20)
- Configuration settings changed?
- Support gzip compressed callgrind files HOT 3
- webgrind not load profiling files HOT 17
- Docker image still on 1.8 HOT 12
- Callgrind files HOT 1
- Unable to build docker image
- No output after loading a cachegrind file HOT 12
- Unable to generate call graph on Windows
- JavaScript Error on Version Check
- Compressed Xdebug callgrind files fail to generate call graphs HOT 1
- Filter call graph
- Issue (help/support/misconfiguration) HOT 1
- unable to generate although python3 and dot are installed HOT 2
- BUG - All Profiling files permanently dissapearing from dropdown on reload
- Allow user to upload file directly
- recursive call make function total inclusive cost greater than {main}
- Cannot set properties of undefined (setting 'count')
- docker image for arm64 (Apple M-series processors) HOT 3
- Generated function graph svg is empty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webgrind.