aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/util
Commit message (Collapse)AuthorAgeFilesLines
* Gather all gtests in tests/util in single gtest runner binary.Henning Baldersheim25 hours30-149/+37
|
* Read cgroup mock data from source directory.Tor Egge2024-06-171-1/+3
|
* Disable valgrind for generation handler stress tests.Arnstein Ressem2024-05-151-1/+1
|
* Add benchmark for distance functionsHenning Baldersheim2024-05-141-1/+0
|
* Fix format string in hamming benchmark.Tor Egge2024-04-231-1/+2
|
* Add micro benchmark for binary hamming distance.Henning Baldersheim2024-04-172-0/+47
|
* use now-public onnxruntime API in testArne Juul2023-11-212-46/+16
|
* Update copyrightJon Bratseth2023-10-0933-33/+33
|
* Use 128 bytes alignment for small allocations in MmapFileAllocator.Tor Egge2023-08-251-8/+8
|
* Extend test for reusing file offset.Tor Egge2023-08-241-2/+15
|
* Use premmapped areas for smaller allocations than _small_limit.Tor Egge2023-08-241-14/+39
|
* Add premmapped areas to file area freelist.Tor Egge2023-08-241-0/+29
|
* Use std::filesystem::is_directory and std::filesystem::existsTor Egge2023-07-201-4/+4
|
* Avoid livelock when running rcu vector unit test with valgrind.Tor Egge2023-07-101-0/+17
|
* Ensure that all memory provided by any allocator are within the 57 low bits ↵Henning Baldersheim2023-05-231-4/+5
| | | | | | of the address. - Replace sdt::pair<void *, size> with a purpose built class enforcing this.
* Reduce transitive includes.Henning Baldersheim2023-03-011-2/+5
|
* trace global filter iterator treeHåvard Pettersen2023-02-092-0/+43
| | | | also simplify making and joining sub-traces
* make test using onnxruntime internals optionalArne Juul2023-01-261-0/+2
|
* Also enable memory trapping with "true" environment variable valueTor Brede Vekterli2023-01-121-1/+1
|
* Add utility functionality for trapping memory accessesTor Brede Vekterli2023-01-112-0/+70
| | | | | | | | At its core this is a way to wrap a range of memory in a way where all non-zero writes are eventually detected and, if supported by the underlying OS and hardware, instantly detects both reads and writes to as much as possible of the underlying memory range. Implemented using `mprotect` of page-aligned regions under the hood.
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-202-4/+4
|
* Remove ReusableSetPool.Tor Egge2022-10-252-148/+0
|
* Rename removeOldGenerations() -> reclaim_memory().Geir Storli2022-10-121-2/+2
|
* Rename first used generation -> oldest used generation.Geir Storli2022-10-123-19/+19
|
* Use the generic hold list for entry refs in a datastore.Geir Storli2022-10-111-6/+55
|
* Implement GenerationHolder in terms of the generic generation hold list.Geir Storli2022-10-104-70/+24
|
* Implement a generic hold list for data elements associated with a generation.Geir Storli2022-10-102-0/+54
|
* Factor out XML attribute/content escaping to own utility functionsTor Brede Vekterli2022-09-052-0/+53
|
* Add noexcept specifier.Tor Egge2022-07-031-2/+2
|
* Remove most use of vespalib::rmdir in vespalib. Deprecate vespalib::mkdir.Tor Egge2022-06-021-1/+2
|
* - Introduce the concept of minimal capacity for rcu vectors.Henning Baldersheim2022-05-241-20/+33
| | | | | - This is to prevent shrinking down past what has been configured in proton.documentdb[].allocation.initialnumdocs - shrinking down past the configured value is not supported as that would counter the preallocation done to prevent resizing.
* - Stick to using GrowStragey everywhere.Henning Baldersheim2022-05-231-14/+14
| | | | - Store the full config in the rcu vector.
* Fold staging_vespalib into vespalibHenning Baldersheim2022-05-204-0/+109
|
* Add CGroupResourceLimits class.Tor Egge2022-05-1235-0/+121
|
* Add acquire_elem_ref() member function to rcu vector.Tor Egge2022-03-151-5/+146
|
* Convert rcu vector unit test to gtest.Tor Egge2022-03-144-137/+163
| | | | Factor out generation holder test to separate unit test.
* Remove unneeded preprocessor directives.Tor Egge2022-03-021-5/+15
| | | | Make stopping of readers more robust.
* Test lifetime of indirect values accessed via atomic pointer.Tor Egge2022-03-011-4/+109
|
* Sync executors at end of stress test.Tor Egge2022-03-011-0/+2
|
* Convert generation handler tests to gtest.Tor Egge2022-03-014-109/+124
|
* Fix race conditions in vespalib::GenerationHandler discovered by thread ↵Tor Egge2022-02-222-7/+7
| | | | sanitizer.
* Handle 64K page size in alloc unit test and rcuvector unit test.Tor Egge2022-02-171-10/+18
|
* Keep using same memory allocator when resizing rcu vector.Tor Egge2022-02-091-0/+72
|
* Use EntryRefFilter to filter calls to UniqueStoreRemapper::remap() forTor Egge2021-12-071-11/+5
| | | | | single refs. Use less indirection for RcuVectorHeld.
* Update Verizon Media copyright notices.gjoranv2021-10-0714-14/+14
|
* Update 2017 copyright notices.gjoranv2021-10-078-8/+8
|
* run tests with various sizesArne H Juul2021-09-291-21/+38
| | | | * also use free() to keep valgrind happy
* file should reflect name of functionArne H Juul2021-09-291-1/+1
|
* add common binary_hamming_distance functionArne H Juul2021-09-282-0/+89
|
* review follow-up:Arne Juul2021-03-252-8/+5
| | | | | | * compare sizeof() of onnxruntime and vespa BFloat16 * check memcmp() of onnxruntime and vespa BFloat16 * simplify; remove unneccessary include and linking