({ n, pathType })
| 15 | |
| 16 | |
| 17 | function main({ n, pathType }) { |
| 18 | const path = pathType === 'relative' ? relative_path : resolved_path; |
| 19 | bench.start(); |
| 20 | for (let i = 0; i < n; i++) { |
| 21 | fs.realpathSync(path); |
| 22 | } |
| 23 | bench.end(n); |
| 24 | } |
nothing calls this directly
no test coverage detected