GLIMPS
VS Code extension used in the SoftVR user study (https://git.informatik.uni-leipzig.de/SWS/softvr-user-study)
Modified version of the original repository (https://github.com/miguelvelezmj25/glimps).
Installation
You must install the extension and run two local servers to be able to use all features of GLIMPS.
The two servers can be run using the saved docker images provided in ./servers
.
Extension
The following commands will create the VSIX package containing the extension:
npm install
vsce package
This results in a perf-debug-0.0.1.vsix
inside the root folder.
For installing the extension in VS Code use:
code --install-extension perf-debug-0.0.1.vsix
You may need to reload the VS Code window.
Hotspot Diff Server
Inside the root folder run:
docker load -i ./servers/hotspot-diff-server.tar
This adds the image to your local docker images.
Joana Slicer Server
Inside the root folder run:
docker load -i ./servers/joana-slicer-server.tar
This adds the image to your local docker images.
Usage
GLIMPS can only be used with the following three software systems.
- Example System: https://git.informatik.uni-leipzig.de/qb19zexe/perf-debug-config
- Density Converter: https://git.informatik.uni-leipzig.de/qb19zexe/density-converter.git
- Berkeley DB: https://git.informatik.uni-leipzig.de/qb19zexe/berkeley-db.git
Get Started
- Clone one of the listed repositories.
- Open the repository in VS Code.
- Switch to the user-study branch.
- Start the two servers with
docker run -it -p 8001:8001 hotspot-diff-server
docker run -it -p 8002:8002 -p 8003:8003 -p 8025:8025 joana-slicer-server
- Press
Ctrl+Shift+P
orF1
and selectPerf Debug: Configuration Dialog
Hotspot Diff (works only if the hotspot diff server runs)
Sliced Call Graph (works only if the joana slicer server runs)
Known issues
The extension does not start on Ubuntu 21.10 and 22.04 (but 20.04 is fine) in combination with VS Code version 1.62+ (october 2021 and newer). When working on Ubuntu 21.10+, we recommend to install the VS Code version 1.61 (https://code.visualstudio.com/updates/v1_61).