Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ecoCode SCI MonitorNew to Visual Studio Code? Get it now.
ecoCode SCI Monitor

ecoCode SCI Monitor

ecocode-sci-monitor

|
3 installs
| (0) | Free
software carbon emissions using SCI model. Get energy usage, CO2 impact, and sustainability score for your code and projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🌱 EcoCode SCI Monitor

A powerful VS Code extension that analyzes your code execution, estimates energy usage, and calculates Software Carbon Intensity (SCI) while providing advanced sustainability intelligence and optimization insights.


🚀 Overview

EcoCode SCI Monitor helps developers understand and reduce the environmental impact of their code with real-time analysis and smart insights.

✅ Now enhanced with:

  • 🔮 Predictive carbon simulation
  • ⚡ Optimization impact analysis
  • 🧬 Developer sustainability profiling
  • ☁️ Cloud-aware carbon adjustment

⚙️ How It Works

When a file is executed:

  1. ✅ Code is analyzed (multi-language support)

  2. ✅ File is executed using runtime

  3. ✅ System metrics are captured:

    • CPU usage
    • Memory usage
    • Execution time
  4. ✅ Energy usage is estimated

  5. ✅ Carbon emissions are calculated

  6. ✅ Cloud impact is applied

  7. ✅ SCI score is computed

  8. ✅ Smart insights and optimization suggestions are generated


🌍 SCI Formula

SCI = ((E × CI) + M) / R Where:

  • E = Estimated energy (kWh)
  • CI = Carbon intensity (region-based)
  • M = Embodied carbon
  • R = Functional unit (per execution = 1)

✅ Features

⚡ Real-Time File Analysis

  • Instant analysis on file save or change
  • Live CPU, memory, and carbon impact

📁 Project-Level Analysis

  • Scan entire project
  • Aggregate sustainability metrics

🌍 Region-Based Carbon Calculation

  • Auto-detects user location
  • Applies region-specific carbon intensity

☁️ Cloud-Aware Carbon Impact ✅ NEW

  • Supports:

    • Azure
    • AWS
    • GCP
    • On-Prem
  • Adjusts emissions based on infrastructure efficiency


🔋 Energy Estimation Engine

  • CPU + memory-based estimation
  • Lightweight and fast

🌱 SCI Calculation

  • Aligned with Green Software Foundation principles
  • Includes:
    • Compute emissions
    • Embodied carbon

📊 Dashboard UI

Modern dashboard visualizing:

  • ⚡ CPU
  • 🧠 Memory
  • 🌍 Carbon
  • 🌱 SCI
  • 📈 Historical trends
  • 🔥 File efficiency heatmap

📈 Chart Visualization

  • Multi-metric line chart
  • Tracks:
    • CPU
    • Memory
    • Carbon

media/dashboard.png
media/dashboard-1.png


🔥 File Efficiency Heatmap

Visual representation of file-level impact:

Color Meaning
🟢 Green Efficient
🟠 Orange Moderate
🔴 Red High carbon

🔮 Predictive Carbon Impact ✅ NEW

Simulates future impact:

  • Large-scale execution
  • Increased traffic
  • Long-term usage

Example: Predicted Carbon: 168,000+ g CO₂


⚡ Optimization Simulation ✅ NEW

Shows real impact of improvements:

  • Remove logs → carbon reduction
  • Optimize loops → CPU reduction
  • Cache API calls → energy savings

👉 Dynamic and based on your actual code


🧬 Developer Sustainability Profile ✅ NEW

Tracks coding patterns and behavior:

  • CPU-heavy coding
  • Loop-intensive logic
  • Logging-heavy development

Example: Profile: Balanced Developer


💡 Smart Suggestions Engine ✅ NEW

Provides actionable recommendations:

  • Reduce CPU usage
  • Optimize memory
  • Minimize network calls
  • Improve code efficiency

🧠 Smart Insights

Automatically detects:

  • Compute-heavy code
  • Memory bottlenecks
  • High carbon impact
  • Inefficient patterns

🏆 Sustainability Scoring

  • Score range: 0–100
  • Grades:
    • A ✅ (Highly efficient)
    • B 👍 (Optimized)
    • C ⚠️ (Needs improvement)
    • D 🔴 (Inefficient)

🎮 Commands

Command
EcoCode: Open Dashboard
EcoCode: Run File Analysis
EcoCode: Run Project Analysis

📊 Example Output

================================================== 📄 File: app.js 🌍 Region: IN ☁️ Cloud Provider: Azure ⚡ CPU: 25.00% 🧠 Memory: 0.50 MB 🔋 Energy: 0.00001234 kWh 🏭 Embodied Carbon: 0.000056 g 🌍 Carbon (Total): 0.6543 g 🌱 SCI: 0.002345 🌱 Sustainability Score: 92.10 🏆 Grade: A ✅ 🧠 Type: Balanced 💡 Insight: Efficient 🔮 Predicted Carbon: 168000.00 g 🧬 Developer Profile: Balanced Developer


🧩 Supported Languages

✅ Works across ALL major programming languages:

  • JavaScript / TypeScript
  • Python
  • Java
  • C / C++
  • C#
  • Go
  • PHP
  • Ruby
  • Rust
  • Shell

⚠️ Important Note

This tool provides:

✅ SCI-based estimation
✅ Developer-level sustainability insights
✅ Optimization intelligence

But:

  • ❌ Uses estimated energy (not hardware-level measurement)
  • ❌ Uses region-based carbon intensity (not real-time grid data)
  • ❌ Not intended for regulatory or audit compliance

🌍 Why Use EcoCode?

EcoCode enables you to:

✅ Understand your code’s carbon footprint
✅ Optimize performance + efficiency
✅ Build sustainable software
✅ Reduce energy consumption
✅ Make cloud-aware decisions
✅ Improve developer practices


🚀 Future Roadmap

  • 🤖 AI-based auto code optimization
  • 📊 Cloud comparison dashboard
  • 📄 Export sustainability reports (PDF)
  • 👥 Team-level sustainability insights

🏆 Vision

Build the first Universal Sustainable Code Intelligence Platform
combining runtime metrics, code analysis, and environmental impact.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft