anchor.diff:          data,
           detailFiles: <String>[
             if (saveTraceFile)
  -            '$testDirectory/$_testOutputDirectory/$traceFilename.json',
  +            '${_testOutputDirectory(testDirectory)}/$traceFilename.json',
           ],
           benchmarkScoreKeys: benchmarkScoreKeys ?? <String>[
             ..._kCommonScoreKeys,
  
positive.code: /// Must match flutter_driver/lib/src/common.dart.
  ///
  /// Redefined here to avoid taking a dependency on flutter_driver.
  final String _testOutputDirectory = Platform.environment['FLUTTER_TEST_OUTPUTS_DIR'] ?? 'build';
  
  TaskFunction createComplexLayoutScrollPerfTest({bool measureCpuGpu = true}) {
    return PerfTest(
  
negative.code:         hostAgent.dumpDirectory.path,
        ]);
        final Map<String, dynamic> data = json.decode(
          file('${_testOutputDirectory(testDirectory)}/scroll_smoothness_test.json').readAsStringSync(),
        ) as Map<String, dynamic>;
  
        final Map<String, dynamic> result = <String, dynamic>{};
  