diff options
author | Noel Grandin <noel@peralex.com> | 2021-09-06 12:46:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-09 09:06:45 +0200 |
commit | 3749d9af3745c0eaff7239e379578e4e2af89e9d (patch) | |
tree | b769195ba13d277ce1d9d6f2a97ecfe95a6f13b9 /readlicense_oo | |
parent | 4bf266233daa7d9ed030a20fa4f487f9f5a82379 (diff) |
tdf#130795 use concurrent hashmap in SharedStringPool
we are loading a spreadsheet in parallel here, but the parallel threads
achievei very little actual concurrency because of heavy contention
in the SharedStringPool mutex.
So switch to a concurrent hash map. I looked at a couple of different
ones (including the Folly one), and this was the one with the simplest
resulting code.
This takes my load time from 12.5s to 8s
Change-Id: I04d6d8e11d613b510eb3bc981f3338819b7ac813
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121717
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'readlicense_oo')
-rw-r--r-- | readlicense_oo/license/license.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/readlicense_oo/license/license.xml b/readlicense_oo/license/license.xml index 2a27cab23b37..25d37248e738 100644 --- a/readlicense_oo/license/license.xml +++ b/readlicense_oo/license/license.xml @@ -676,6 +676,12 @@ <p><a href="#a__LGPL_version_2">Jump to LGPL Version 2</a></p> <p><a href="#a__MPL_version_1_1">Jump to MPL Version 1.1</a></p> </div> + <div class="LIBCUCKOO" > + <h2>libcuckoo</h2> + <p>The following software may be included in this product: libcuckoo. Use of any of this software is governed by + the terms of the license below:</p> + <p><a href="#a__Apache_License_version_2_0">Jump to Apache License Version 2.0</a></p> + </div> <div class="CURL" > <h2>libcurl</h2> <p>The following software may be included in this product: libcurl. Use of any of this software is governed by |