(framework: Framework)
| 16 | export function noop() {} |
| 17 | |
| 18 | export function warnClientMemoryDevMode(framework: Framework) { |
| 19 | if (process.env.NODE_ENV !== 'production') { |
| 20 | console.warn( |
| 21 | `memory client benchmark is running without NODE_ENV=production; ${frameworkNames[framework]} dev overhead will dominate results.`, |
| 22 | ) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | export function createBenchContainer() { |
| 27 | const container = document.createElement('div') |
no test coverage detected