GLIDEPATH_PERFORMANCE: {
    TIMELINE: {
        LARGE_SIMULATION_MONTHS: 600;
        PERFORMANCE_WARNING_MONTHS: 1200;
    };
    CACHE: {
        MAX_RATE_CACHE_SIZE: 1000;
        MAX_INTERPOLATION_CACHE_SIZE: 500;
    };
} = ...

Performance optimization thresholds for glidepath calculations. These help determine when to use memory-optimized calculation modes.

Type declaration

  • Readonly TIMELINE: {
        LARGE_SIMULATION_MONTHS: 600;
        PERFORMANCE_WARNING_MONTHS: 1200;
    }

    Timeline generation thresholds.

    • Readonly LARGE_SIMULATION_MONTHS: 600

      Number of months above which to consider memory optimization

    • Readonly PERFORMANCE_WARNING_MONTHS: 1200

      Number of months above which to warn about performance

  • Readonly CACHE: {
        MAX_RATE_CACHE_SIZE: 1000;
        MAX_INTERPOLATION_CACHE_SIZE: 500;
    }

    Cache size limits for performance optimization.

    • Readonly MAX_RATE_CACHE_SIZE: 1000

      Maximum number of cached monthly rate conversions

    • Readonly MAX_INTERPOLATION_CACHE_SIZE: 500

      Maximum number of cached waypoint interpolations

Generated using TypeDoc