dart-sdk/sdk/lib/io
Brian Quinlan 770f44d4e9 [io] Make it possible to change the line ending output by stdout and stderr.
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>
2024-02-16 20:06:03 +00:00
..
common.dart
data_transformer.dart
directory.dart Fix Directory.current setter compatibility with IOOverrides 2023-12-18 20:23:21 +00:00
directory_impl.dart Fix Directory.current setter compatibility with IOOverrides 2023-12-18 20:23:21 +00:00
embedder_config.dart
eventhandler.dart
file.dart [doc,io]: Document how errors with File.openRead are exposed 2024-01-17 18:43:50 +00:00
file_impl.dart
file_system_entity.dart [io] Changed Minimum Limit for Trimming File or Dir Path in Windows 2024-01-11 10:53:09 +00:00
io.dart
io_resource_info.dart
io_service.dart
io_sink.dart
io_sources.gni
link.dart Document FileSystemEntity.delete when the type of object on the file system does not match the FileSystemEntity type. 2023-11-13 20:09:08 +00:00
namespace_impl.dart
network_profiling.dart [dart:developer][VM/Service] Add APIs to dart:developer for recording HTTP profiling information, and for later retrieving that information 2024-02-15 18:56:08 +00:00
overrides.dart
platform.dart
platform_impl.dart
process.dart [io] Fix a bug where Process.stdin.add exceptions could not be caught 2024-02-13 18:26:49 +00:00
secure_server_socket.dart
secure_socket.dart [io/doc]: Provide more references to SocketOption.tcpNoDelay. 2023-09-12 18:15:08 +00:00
security_context.dart
service_object.dart
socket.dart [doc/io] Add a RawSocketEvent example. 2023-10-30 16:53:17 +00:00
stdio.dart [io] Make it possible to change the line ending output by stdout and stderr. 2024-02-16 20:06:03 +00:00
string_transformer.dart
sync_socket.dart