How Benchmark Testing Works
When a new Workergroup is created, the serverless engine enters a learning phase. During this phase, it recruits a variety of machine types from those specified insearch_params. For each new worker, the engine runs the user-configured benchmark and evaluates performance.
As traffic scales up and down, the serverless engine builds an application-specific understanding of cost vs. performance, which it then uses to make informed decisions about future worker recruitment and release.