blob: 03f848e32ef85f45ca2ad1e2c9c814192edf8820 [file] [log] [blame]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// VMOptions=--timeline-recorder=ring --timeline-streams=Dart
import 'dart:developer';
main() {
for (var i = 0; i < 100000; i++) {
// OneByteString, ASCII
Timeline.startSync('ASCII', arguments: {'arg': 'ASCII'});
Timeline.finishSync();
// OneByteString, Latin1
Timeline.startSync('blåbærgrød', arguments: {'arg': 'blåbærgrød'});
Timeline.finishSync();
// TwoByteString
Timeline.startSync('Îñţérñåţîöñåļîžåţîờñ',
arguments: {'arg': 'Îñţérñåţîöñåļîžåţîờñ'});
Timeline.finishSync();
}
}