mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
![]() There is a performance impact in: `stdout.lineTerminator = "\r\n";` For small writes (<100 chars), the performance loss is lost in the noise of the `write` system call. For writes of ~500 chars, the performance is about half of that without line terminator translation. But, on a M2 Mac laptop, ~80M characters can be written per second. Bug: https://github.com/dart-lang/sdk/issues/53161 Change-Id: Icfa0f981dcf6edb856d8aac5e0e270bc0148d498 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326761 Reviewed-by: Siva Annamalai <asiva@google.com> Reviewed-by: Lasse Nielsen <lrn@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com> Reviewed-by: Brian Quinlan <bquinlan@google.com> Commit-Queue: Brian Quinlan <bquinlan@google.com> |
||
---|---|---|
.. | ||
common.dart | ||
data_transformer.dart | ||
directory.dart | ||
directory_impl.dart | ||
embedder_config.dart | ||
eventhandler.dart | ||
file.dart | ||
file_impl.dart | ||
file_system_entity.dart | ||
io.dart | ||
io_resource_info.dart | ||
io_service.dart | ||
io_sink.dart | ||
io_sources.gni | ||
link.dart | ||
namespace_impl.dart | ||
network_profiling.dart | ||
overrides.dart | ||
platform.dart | ||
platform_impl.dart | ||
process.dart | ||
secure_server_socket.dart | ||
secure_socket.dart | ||
security_context.dart | ||
service_object.dart | ||
socket.dart | ||
stdio.dart | ||
string_transformer.dart | ||
sync_socket.dart |