summaryrefslogtreecommitdiff
path: root/external/Module_external.mk
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-09-06 12:46:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-09 09:06:45 +0200
commit3749d9af3745c0eaff7239e379578e4e2af89e9d (patch)
treeb769195ba13d277ce1d9d6f2a97ecfe95a6f13b9 /external/Module_external.mk
parent4bf266233daa7d9ed030a20fa4f487f9f5a82379 (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 'external/Module_external.mk')
-rw-r--r--external/Module_external.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/Module_external.mk b/external/Module_external.mk
index 4566d825301c..3de6f9cdd63f 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -104,6 +104,7 @@ $(eval $(call gb_Module_add_moduledirs,external,\
$(call gb_Helper_optional,XSLTML,xsltml) \
$(call gb_Helper_optional,ZLIB,zlib) \
$(call gb_Helper_optional,ZMF,libzmf) \
+ $(call gb_Helper_optional,CUCKOO,cuckoo) \
))
# vim: set noet sw=4 ts=4: