profiler-tools v0.0.18
Why Oaklean?
Oaklean is a groundbreaking software solution that helps developers visualize and optimize the energy consumption of NodeJS applications. Through an innovative VSCode extension and an integration into test frameworks, the system identifies energy-intensive code sections and suggests eco-friendly alternatives. The goal is to raise awareness of responsible resource management in software development, aiming to achieve both ecological and economic benefits.
Getting Started
The @oaklean
suite consists mainly of three components that help you to measure your javascript/typescript applications.
The
@oaklean/profiler
package helps you to measure your whole application or only some parts of it. You can find a detailed description of how to use it hereThe
@oaklean/profiler-jest-environment
package allows you to fully automate the energy measurements during your jest tests. This allows comparing changes in energy consumption across multiple development stages and between releases. You can find a detailed description of how to use it hereThe
Oaklean
VSCode Extension lets you to interpret the measurements. It integrates the energy measurements directly into your IDE.You can find it here:
Features By using code highlighting it points out which source code locations consume the most energy: Additionally it also provides multiple features to determine the components that consume the most energy, including node modules:
1 year ago