Class Simulate

  • All Implemented Interfaces:
    Runnable

    public final class Simulate
    extends Object
    implements Runnable
    A command that runs multiple simulations, writes the result to a csv file, and renders a chart. An underscore may be used as a numeric separator and the default configuration may be overridden by using system properties.

    
       ./gradlew simulator:simulate -q \
         -Dcaffeine.simulator.files.paths.0="lirs:gli.trace.gz" \
         -Dcaffeine.simulator.policies.0=product.Caffeine \
         -Dcaffeine.simulator.policies.1=product.Guava \
         --maximumSize=100,500,1_000,1_500,2_000 \
         --title=Glimpse
     
    • Constructor Detail

      • Simulate

        public Simulate()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • main

        public static void main​(String[] args)