🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@malloydata/malloy-profiler

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@malloydata/malloy-profiler

This package enables profiling of the Malloy compiler. Currently it only works with stateless compilation of queries. In the future we can extend it to support other kinds of compilation.

latest
Source
npmnpm
Version
0.0.319
Version published
Maintainers
3
Created
Source

Malloy Stable Request Profiler

This package enables profiling of the Malloy compiler. Currently it only works with stateless compilation of queries. In the future we can extend it to support other kinds of compilation.

Usage

Basic timing (100 iterations with average):

npm run time path/to/file.json

Detailed flame graph profiling:

npm run profile path/to/file.json

This creates a .cpuprofile file and provides instructions for viewing the flame graph in Chrome DevTools.

To view the flame graph:

  • Open Chrome and navigate to chrome://inspect
  • Click "Open dedicated DevTools for Node"
  • Go to the Performance tab
  • Load the generated .cpuprofile file

FAQs

Package last updated on 01 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts