tvl-depot/absl/strings
Abseil Team 13327debeb Export of internal Abseil changes.
--
15d7bcf28220750db46930f4d8c090b54e3ae5fe by Jon Cohen <cohenjon@google.com>:

Fix miscellaneous CMake change interleaving issues for the daily release:
  * add back the absl::container target
  * Add copts to absl_cc_library targets in absl/container/CMakeLists.txt
  * Add trailing newline to the end of AbseilConfigureCopts.cmake

PiperOrigin-RevId: 223057096

--
baac35470d75b6561477f688dc4eb021f604cf71 by Abseil Team <absl-team@google.com>:

Internal Cleanup.

PiperOrigin-RevId: 223051579

--
6791c2f2e35b030b5579f36d3c607c6ba92fa089 by Abseil Team <absl-team@google.com>:

Internal Change.

PiperOrigin-RevId: 223046855

--
5467ad987ea82aef77d2f1cc85aa9105e7d9c320 by Samuel Benzaquen <sbenza@google.com>:

Workaround for gcc bug https://gcc.gnu.org/PR88115

PiperOrigin-RevId: 223041901

--
36fa5cfd41df2b71d26487c45363901bbf6a2463 by Tom Manshreck <shreck@google.com>:

Clarify visit() constraints

PiperOrigin-RevId: 223032194

--
afdf4013de036b411db7f92cde8a2493e6665223 by Abseil Team <absl-team@google.com>:

Fix comment typos.

PiperOrigin-RevId: 223024090

--
e11c01927eb8b898f6633282824022104b258342 by Jon Cohen <cohenjon@google.com>:

Make absl::spinlock_test_common TESTONLY

This should fix https://github.com/abseil/abseil-cpp/issues/221

PiperOrigin-RevId: 222885323

--
5ccc576d1c68e4b92705aa8064f1e8d715e5415e by Abseil Team <absl-team@google.com>:

Internal change.

PiperOrigin-RevId: 222877017

--
96ff25bf78c4f4bca0d6e61faa4feeab91a2e73c by Jon Cohen <cohenjon@google.com>:

Align CMake and Bazel compile options.  This is the first step towards a single source of truth for Abseil compile options.  Also makes absl_test and absl_cc_test make binaries and targets with compatible names to each other to make testing easier.

PiperOrigin-RevId: 222858408

--
7dd3e2618ad5a5de5d918fc73e438ef0b98cec6a by Abseil Team <absl-team@google.com>:

Revert "absl: cap SpinLock backoff to 4ms"

PiperOrigin-RevId: 222656230

--
0d49538a3cab714156ed0a5651656c0aa098a1e5 by Abseil Team <absl-team@google.com>:

Update absl/container/CMakeLists.txt to use new functions
i.e. absl_cc_(library|test)

PiperOrigin-RevId: 222535766

--
92744e9d0e5c3bf9e1167a7bdf1a6777192531b1 by Abseil Team <absl-team@google.com>:

Disable header parsing for broken targets

PiperOrigin-RevId: 222257218

--
39a6c623601c44e02d91e412f126a813d719507b by Abseil Team <absl-team@google.com>:

absl: cap SpinLock backoff to 4ms

The current backoff logic has 3 problems:
1. It can produce too high values (up to 256ms), which can negatively
affect tail latency. The value was chosen long time ago and now it's
a good idea to reconsider it.
2. It does not have low bound, so on any iteration it can produce
a very small value that will lead to unnecessary cpu consumption.
3. It does not increase low bound with the number of iterations.
So if the SpinLock is actually somehow locked for a very prolonged time,
a waiter can still wake periodically.

Rework the logic to solve these problems.
Add lower bound of 128us, no code should rely on absence of episodic
delays in this range as they can occur everywhere.
Lower upper bound to 4ms. A thread sleeping for 4ms does not consume
significant cpu time (see below).
Grow lower bound with the number of iterations.

This is cpu consumption of a process doing usleep(x) in a loop
(sampled with ps):

    64us -> 4.0%
   128us -> 2.7%
   256us -> 3.5%
   512us -> 2.8%
  1024us -> 1.6%
  2048us -> 0.6%
  4096us -> 0.3%
  8192us -> 0.0%

Few millisecond sleeps do not consume significant time.

PiperOrigin-RevId: 222196086

--
17104a2396ddda61fb0faed0a72ff8c161ca17ea by Shahriar Rouf <nafi@google.com>:

Add benchmarks for hashing civil_times.

PiperOrigin-RevId: 222152108
GitOrigin-RevId: 15d7bcf28220750db46930f4d8c090b54e3ae5fe
Change-Id: I73b929feaf6ce72b70fdafd6108f53bbbeaf9738
2018-11-27 17:37:00 -05:00
..
internal Export of internal Abseil changes. 2018-11-06 16:06:39 -05:00
testdata Initial Commit 2017-09-19 16:54:40 -04:00
ascii.cc Initial Commit 2017-09-19 16:54:40 -04:00
ascii.h Export of internal Abseil changes. 2018-08-30 10:48:15 -04:00
ascii_benchmark.cc Export of internal Abseil changes. 2018-07-20 09:18:23 -04:00
ascii_test.cc - 31d03284ca8017ba59d98d47e7d041f361d478a7 Release escaping microbenchmarks. by Alex Strelnikov <strel@google.com> 2018-05-24 13:59:23 -04:00
BUILD.bazel Export of internal Abseil changes. 2018-08-23 13:48:48 -04:00
charconv.cc Export of internal Abseil changes. 2018-08-23 13:48:48 -04:00
charconv.h Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
charconv_benchmark.cc -- 2018-06-18 16:20:03 -04:00
charconv_test.cc Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
CMakeLists.txt Export of internal Abseil changes. 2018-11-27 17:37:00 -05:00
escaping.cc Export of internal Abseil changes. 2018-09-05 15:21:18 -04:00
escaping.h Export of internal Abseil changes. 2018-08-31 10:48:01 -04:00
escaping_benchmark.cc - e2f6b8ac647271815b4fed2991f405524dd762c3 Release cctz microbenchmarks. by Alex Strelnikov <strel@google.com> 2018-05-31 15:58:36 -04:00
escaping_test.cc Export of internal Abseil changes. 2018-09-05 15:21:18 -04:00
match.cc Export of internal Abseil changes. 2018-10-09 15:36:40 -04:00
match.h Export of internal Abseil changes. 2018-10-09 15:36:40 -04:00
match_test.cc Export of internal Abseil changes. 2018-10-09 15:36:40 -04:00
numbers.cc Export of internal Abseil changes. 2018-08-23 13:48:48 -04:00
numbers.h Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
numbers_benchmark.cc Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
numbers_test.cc Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
str_cat.cc Export of internal Abseil changes. 2018-11-02 12:35:09 -04:00
str_cat.h Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
str_cat_benchmark.cc - e2f6b8ac647271815b4fed2991f405524dd762c3 Release cctz microbenchmarks. by Alex Strelnikov <strel@google.com> 2018-05-31 15:58:36 -04:00
str_cat_test.cc Export of internal Abseil changes. 2018-08-20 11:24:03 -04:00
str_format.h Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
str_format_test.cc Export of internal Abseil changes. 2018-10-24 16:47:28 -04:00
str_join.h Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
str_join_benchmark.cc - e2f6b8ac647271815b4fed2991f405524dd762c3 Release cctz microbenchmarks. by Alex Strelnikov <strel@google.com> 2018-05-31 15:58:36 -04:00
str_join_test.cc - 07191b0f52301e1e4a790e236f7b7c2fd90561ae Disambiguates computed return type of absl::optional logi... by Abseil Team <absl-team@google.com> 2018-05-04 13:30:42 -04:00
str_replace.cc Initial Commit 2017-09-19 16:54:40 -04:00
str_replace.h Export of internal Abseil changes. 2018-08-24 15:09:36 -04:00
str_replace_benchmark.cc Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
str_replace_test.cc Changes imported from Abseil "staging" branch: 2017-09-25 10:12:29 -04:00
str_split.cc Export of internal Abseil changes. 2018-08-30 10:48:15 -04:00
str_split.h Export of internal Abseil changes. 2018-08-30 10:48:15 -04:00
str_split_benchmark.cc Export of internal Abseil changes. 2018-11-02 12:35:09 -04:00
str_split_test.cc Export of internal Abseil changes. 2018-08-30 10:48:15 -04:00
string_view.cc - bd7f5fa7ad5b7f1371315d45e4e4863f2c2ad9f6 Remove unused includes from string_view.cc. by Greg Falcon <gfalcon@google.com> 2018-05-08 14:35:03 -04:00
string_view.h Export of internal Abseil changes. 2018-10-30 11:19:34 -04:00
string_view_benchmark.cc Export of internal Abseil changes. 2018-10-22 15:01:16 -04:00
string_view_test.cc Export of internal Abseil changes. 2018-10-22 15:01:16 -04:00
strip.h Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
strip_test.cc Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
substitute.cc - 3a9532fb2d6ae45c3cba44c9bb0dbdfc1558b7d3 Fix the description of Span::subspan(). by Abseil Team <absl-team@google.com> 2018-04-24 10:09:46 -04:00
substitute.h Export of internal Abseil changes. 2018-08-22 11:02:33 -04:00
substitute_test.cc - 3a9532fb2d6ae45c3cba44c9bb0dbdfc1558b7d3 Fix the description of Span::subspan(). by Abseil Team <absl-team@google.com> 2018-04-24 10:09:46 -04:00