naiveproxy/src/base
2022-03-30 22:46:52 +08:00
..
allocator allocator: Improve MIPS coverage of spinlocks 2022-03-30 22:46:52 +08:00
android base: Add Android stubs 2022-03-30 22:46:51 +08:00
containers Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
debug debug: Fix uClibc macro condition 2022-03-30 22:46:52 +08:00
files base: Remove JNI function on Android 2022-03-30 22:46:52 +08:00
fuchsia Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
functional Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
hash Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
i18n Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
ios Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
json Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
mac Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
memory Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
message_loop Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
metrics Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
nix Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
numerics Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
posix Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
power_monitor Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
process Fix OpenWrt build with use_allocator_shim=false 2022-03-30 22:46:52 +08:00
profiler Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
ranges Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
rs_glue Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sampling_heap_profiler Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
strings Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
synchronization Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
system base: Fix narrowing casting for Musl 2022-03-30 22:46:52 +08:00
task Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
test Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
third_party Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
threading base: Add Android stubs 2022-03-30 22:46:51 +08:00
time base: Don't fix Y2038 problem with icu 2022-03-30 22:46:51 +08:00
timer Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
trace_event base: Remove use of mallinfo for Musl 2022-03-30 22:46:52 +08:00
tracing Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
types Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
win Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
as_const.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
at_exit.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
at_exit.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
atomic_ref_count.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
atomic_sequence_num.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
atomicops_internals_atomicword_compat.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
atomicops_internals_portable.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
atomicops.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
auto_reset.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
barrier_callback.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
barrier_closure.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
barrier_closure.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base64.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base64.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base64url.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base64url.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_export.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_android.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_android.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_fuchsia.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_mac.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_mac.mm Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_posix.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_posix.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths_win.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_paths.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_switches.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
base_switches.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
big_endian.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
big_endian.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
bind_internal.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
bind.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
bit_cast.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
bits.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
build_time.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
build_time.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
BUILD.gn Fix android build 2022-03-30 22:46:52 +08:00
callback_forward.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
callback_helpers.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
callback_helpers.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
callback_internal.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
callback_internal.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
callback_list.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
callback_list.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
callback.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cancelable_callback.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
check_example.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
check_op.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
check_op.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
check.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
check.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
command_line.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
command_line.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
compiler_specific.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
component_export.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cpu_affinity_posix.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cpu_affinity_posix.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cpu_reduction_experiment.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cpu_reduction_experiment.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cpu.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cpu.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
critical_closure_internal_ios.mm Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
critical_closure.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cxx17_backports.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
cxx20_to_address.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
dcheck_is_on.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
DEPS Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
DIR_METADATA Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
enterprise_util_mac.mm Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
enterprise_util_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
enterprise_util.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
environment.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
environment.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
export_template.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
feature_list.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
feature_list.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_descriptor_posix.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_descriptor_posix.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_descriptor_store.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_descriptor_store.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_version_info_mac.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_version_info_mac.mm Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_version_info_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_version_info_win.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
file_version_info.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
format_macros.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
gtest_prod_util.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
guid.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
guid.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
immediate_crash.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
lazy_instance_helpers.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
lazy_instance_helpers.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
lazy_instance.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
lib.rs Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
linux_util.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
linux_util.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
location.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
location.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
logging_chromeos.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
logging_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
logging_win.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
logging.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
logging.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
native_library_fuchsia.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
native_library_ios.mm Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
native_library_mac.mm Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
native_library_posix.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
native_library_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
native_library.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
native_library.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
no_destructor.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
notreached.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
notreached.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
observer_list_internal.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
observer_list_internal.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
observer_list_threadsafe.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
observer_list_threadsafe.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
observer_list_types.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
observer_list_types.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
observer_list.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
one_shot_event.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
one_shot_event.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
os_compat_android.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
os_compat_android.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
os_compat_nacl.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
os_compat_nacl.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
OWNERS Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
parameter_pack.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
path_service.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
path_service.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
pending_task.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
pending_task.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
pickle.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
pickle.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
PRESUBMIT.py Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
rand_util_fuchsia.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
rand_util_nacl.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
rand_util_posix.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
rand_util_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
rand_util.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
rand_util.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
README.md Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
run_loop.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
run_loop.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_clear_last_error_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_clear_last_error.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_environment_variable_override.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_environment_variable_override.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_generic.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_multi_source_observation.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_native_library.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_native_library.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
scoped_observation.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
SECURITY_OWNERS Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sequence_checker_impl.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sequence_checker_impl.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sequence_checker.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sequence_checker.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sequence_token.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sequence_token.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
stack_canary_linux.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
stack_canary_linux.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
stl_util.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
supports_user_data.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
supports_user_data.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sync_socket_nacl.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sync_socket_posix.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sync_socket_win.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sync_socket.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sync_socket.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
sys_byteorder.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
syslog_logging.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
syslog_logging.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
template_util.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
thread_annotations.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
token.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
token.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
traits_bag.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
tuple.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
unguessable_token.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
unguessable_token.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
value_iterators.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
value_iterators.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
values_deserialization.rs Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
values.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
values.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
values.rs Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
version.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
version.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
vlog.cc Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00
vlog.h Import chromium-100.0.4896.60 2022-03-30 19:51:33 +08:00

What is this

Contains a written down set of principles and other information on //base. Please add to it!

About //base:

Chromium is a very mature project. Most things that are generally useful are already here and things not here aren't generally useful.

The bar for adding stuff to base is that it must have demonstrated wide applicability. Prefer to add things closer to where they're used (i.e. "not base"), and pull into base only when needed. In a project our size, sometimes even duplication is OK and inevitable.

Adding a new logging macro DPVELOG_NE is not more clear than just writing the stuff you want to log in a regular logging statement, even if it makes your calling code longer. Just add it to your own code.

If the code in question does not need to be used inside base, but will have multiple consumers across the codebase, consider placing it in a new directory under components/ instead.

base is written for the Chromium project and is not intended to be used outside it. Using base outside of src.git is explicitly not supported, and base makes no guarantees about API (or even ABI) stability (like all other code in Chromium). New code that depends on base/ must be in src.git. Code that's not in src.git but pulled in through DEPS (for example, v8) cannot use base.

Qualifications for being in //base OWNERS

  • interest and ability to learn low level/high detail/complex c++ stuff
  • inclination to always ask why and understand everything (including external interactions like win32) rather than just hoping the author did it right
  • mentorship/experience
  • demonstrated good judgement (esp with regards to public APIs) over a length of time

Owners are added when a contributor has shown the above qualifications and when they express interest. There isn't an upper bound on the number of OWNERS.

Design and naming

  • Be sure to use the base namespace.
  • STL-like constructs should adhere as closely to STL as possible. Functions and behaviors not present in STL should only be added when they are related to the specific data structure implemented by the container.
  • For STL-like constructs our policy is that they should use STL-like naming even when it may conflict with the style guide. So functions and class names should be lower case with underscores. Non-STL-like classes and functions should use Google naming.

Performance testing

Since the primitives provided by //base are used very widely, it is important to ensure they scale to the necessary workloads and perform well under all supported platforms. The base_perftests target is a suite of synthetic microbenchmarks that measure performance in various scenarios:

  • BasicPostTaskPerfTest: Exercises MessageLoopTaskRunner's multi-threaded queue in isolation.
  • ConditionVariablePerfTest: Measures thread switching cost of condition variables.
  • IntegratedPostTaskPerfTest: Exercises the full MessageLoop/RunLoop machinery.
  • JSONPerfTest: Tests JSONWriter and JSONReader performance.
  • MessageLoopPerfTest: Measures the speed of task posting in various configurations.
  • ObserverListPerfTest: Exercises adding, removing and signalling observers.
  • PthreadEventPerfTest: Establishes the baseline thread switching cost using pthreads.
  • ScheduleWorkTest: Measures the overhead of MessagePump::ScheduleWork.
  • SequenceManagerPerfTest: Benchmarks SequenceManager scheduling with various underlying task runners.
  • TaskObserverPerfTest: Measures the incremental cost of adding task observers.
  • TaskPerfTest: Checks the cost of posting tasks between threads.
  • WaitableEvent{Thread,}PerfTest: Measures waitable events in single and multithreaded scenarios.

Regressions in these benchmarks can generally by caused by 1) operating system changes, 2) compiler version or flag changes or 3) changes in //base code itself.