qmetrics.net

Scalene

Python CPU, GPU, and memory profiler

Scalene screenshot

Scalene profiles Python programs at line and function granularity for CPU, GPU, and memory, with a local web GUI and optional AI-suggested optimizations from several providers.

Overview

Scalene is a profiler for Python that separates time spent in Python, native libraries, system calls, and on NVIDIA GPUs when available. It uses sampling rather than heavy instrumentation so overhead stays comparatively low while still reporting detailed per-line figures.

The tool highlights hotspots in the report, tracks memory allocation and copying volume per line, flags likely leaks, and attributes async await time to the lines where coroutines suspend. Optional stack views stitch Python and native frames into flame charts, memory-weighted charts, and a timeline with GC, I/O, and GIL markers.

After a run, Scalene can open an interactive browser UI that works fully offline, with sorting, hover breakdowns, and standalone HTML export for sharing. A Visual Studio Code extension runs profiling from the editor command palette and shows results in a webview.

The command-line interface uses run, view, and config verbs, supports YAML configuration files, @profile decorators, pytest integration, and optional AI optimization suggestions when you configure keys for providers such as OpenAI, Azure, Bedrock, or local Ollama models.

Key features

  • Per-line CPU profiling
  • Python vs native vs system time
  • GPU time on NVIDIA systems
  • Per-line memory and copy volume
  • Async await attribution
  • Stitched Python and native stacks
  • Offline web GUI
  • AI optimization suggestions

Use cases

  • Finding Python performance bottlenecks
  • Debugging memory growth and leaks
  • Profiling async I/O concurrency
  • Sharing standalone profile HTML reports

Tags

Similar software

Uptime Kuma

Self-hosted uptime monitoring with status pages and alerts

Uptime Kuma is a self-hosted monitoring tool for checking whether services stay online. It covers many probe types and can notify you through numerous messaging and email channels.

  • HTTP, TCP, and ping monitors
  • WebSocket and DNS record checks
  • Docker container monitoring
JavaScriptLinux, Windows, DockerDetails →
★ 95.2k⟳ todayMIT
Open Source Alternative to:ChecklyPingdom+1

Netdata

Per-second full-stack infrastructure observability platform

Netdata collects metrics, logs, and traces where they are generated, with per-second resolution, built-in dashboards, alerts, and machine learning anomaly detection on every metric.

  • Per-second metric collection
  • ML anomaly detection per metric
  • OpenTelemetry ingestion
GoLinux, macOS, Windows, DockerDetails →
★ 81.8k⟳ todayGPL-3.0
Open Source Alternative to:AppDynamicsApplication Insights+13

Grafana

Composable observability and data visualization platform

Grafana queries, visualizes, and alerts on metrics, logs, and traces from many backends. Teams build and share dashboards to explore operational data.

  • Flexible visualization panels and plugins
  • Dynamic dashboards with template variables
  • Ad-hoc metrics explore and drilldown
GoDetails →
★ 78.5k⟳ todayAGPL-3.0
Open Source Alternative to:AppDynamicsApplication Insights+8

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

  • Multi-dimensional time series model
  • PromQL query language
  • HTTP pull-based metric collection
GoDockerDetails →
★ 68.2k⟳ todayApache-2.0
Open Source Alternative to:CloudWatchDash0+6

Sentry

Developer error tracking and performance monitoring

Sentry is a debugging platform for detecting, tracing, and fixing application issues. SDKs connect code to error, performance, replay, and related signals in one workflow.

  • Error and exception tracking
  • Application performance monitoring
  • Connected logs, replays, and traces
PythonDetails →
★ 45.9k⟳ todaySource-available

Stats

Free macOS menu bar system monitor

Stats shows CPU, GPU, memory, disk, network, sensors, and battery readings from the macOS menu bar. It runs on Apple Silicon and Intel Macs with customizable modules and widgets.

  • Nine monitoring modules
  • Thirteen menu bar widget styles
  • CPU and GPU load with temperatures
SwiftmacOSDetails →
★ 43.8k⟳ todayMIT
Open Source Alternative to:iStat Menus