Configuration
Advanced configuration options for Benchwise.
Configuration Sources
Understanding the order of precedence for Benchwise configuration settings.
Benchwise loads configuration from multiple sources (in order of precedence):
- Code-level configuration (
configure_benchwise()) - Environment variables (
BENCHWISE_*) - Config files (
.benchwise.json,~/.benchwise/config.json) - Default values
Environment Variables
Set Benchwise configuration using environment variables.
export BENCHWISE_CACHE="true"
export BENCHWISE_DEBUG="false"
Preset Configurations (Under development)
Quickly apply predefined configuration settings for common scenarios.
from benchwise import get_development_config, get_production_config, get_offline_config
# Development mode
config = get_development_config()
# Production mode
config = get_production_config()
# Offline mode
config = get_offline_config()