ladybird/Tests/AK
Andreas Kling cf6e2531d9
Some checks are pending
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
AK: Make String::number() much faster for integer types
Instead of going through String::formatted(), we now have a specialized
code path for base-10 serialization directly to UTF-8.

This is roughly 5-10x faster than the previous implementation, depending
on how many digits we end up outputting.

1.07x speedup on MicroBench/for-in-indexed-properties.js
2025-05-02 19:13:03 +02:00
..
CMakeLists.txt AK: Support storing blocks in AK::Function 2025-03-18 17:15:08 -06:00
TestAKBindings.swift AK: Skip test for StringView's CxxSequence conformance for now 2024-11-15 10:51:45 -07:00
TestAllOf.cpp
TestAnyOf.cpp
TestArray.cpp AK: Conform SimpleIterator to the random access iterator requirements 2024-08-17 17:44:37 -06:00
TestAtomic.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestBadge.cpp
TestBase64.cpp AK: Add a Base64 decoder to decode into an existing buffer 2024-09-03 17:43:03 +02:00
TestBinaryHeap.cpp
TestBinarySearch.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestBitCast.cpp
TestBitmap.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestBitStream.cpp
TestBuiltinWrappers.cpp
TestByteBuffer.cpp
TestByteString.cpp AK: Remove unused UTF-8 / other factory methods from ByteString 2025-04-07 17:44:38 +02:00
TestCharacterTypes.cpp AK: Add CharacterTypes::is_ascii_base36_digit() 2024-01-13 19:01:35 -07:00
TestChecked.cpp AK/Checked: Dont verify overflow bit in lvalue operations 2025-02-25 11:20:13 +00:00
TestCircularBuffer.cpp
TestCircularQueue.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestDisjointChunks.cpp
TestDistinctNumeric.cpp
TestDoublyLinkedList.cpp
TestDuration.cpp AK: Stop exporting AK::Duration into the global namespace 2024-07-18 09:43:38 +01:00
TestEndian.cpp
TestEnumBits.cpp
TestEnumerate.cpp AK: Introduce AK::enumerate 2024-03-23 09:02:58 -04:00
TestFind.cpp AK: Add an AK::find helper to return a reference to the found value 2025-04-06 13:45:10 +02:00
TestFixedArray.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestFixedPoint.cpp AK: Stop exporting AK::FixedPoint into the global namespace 2024-07-18 09:43:38 +01:00
TestFloatingPointParsing.cpp Tests: Remove SerenityOS Check 2024-12-06 14:21:56 -07:00
TestFlyString.cpp
TestFormat.cpp AK: Enable compile-time check of a format test string 2025-04-08 20:00:18 -04:00
TestFunction.mm AK: Support storing blocks in AK::Function 2025-03-18 17:15:08 -06:00
TestGenericLexer.cpp AK: Remove ByteString from GenericLexer 2024-01-12 17:03:53 -07:00
TestGenericShorthands.cpp AK: Add first_is_equal_to_all_of() 2025-03-18 21:55:06 +01:00
TestHashFunctions.cpp AK+Meta+LibCore+Tests: Remove unused SipHash implementation 2025-04-06 01:47:50 +02:00
TestHashMap.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestHashTable.cpp Meta: Update my email address everywhere 2024-11-01 12:14:53 +01:00
TestHex.cpp
TestIndexSequence.cpp AK: Make IndexSequence use size_t 2024-02-11 18:53:00 +01:00
TestInsertionSort.cpp AK: Fix InsertionSort to respect specified bounds 2024-12-06 06:44:27 +00:00
TestIntegerMath.cpp AK: Add lowest common multiple and greatest common divisor functions 2025-04-23 09:13:45 +01:00
TestIntrusiveList.cpp
TestIntrusiveRedBlackTree.cpp
TestIPv4Address.cpp Everywhere: Run clang-format 2024-04-24 16:50:01 -04:00
TestIPv6Address.cpp AK+Tests: Add support for URI syntax in IPv6Address::from_string 2025-04-05 14:26:09 -04:00
TestJSON.cpp Tests: Add a test for moving an object out of a JSON value 2025-02-24 12:05:29 -05:00
TestLEB128.cpp
TestLexicalPath.cpp AK: Make LexicalPath::relative_path() fallible 2024-11-09 12:42:27 -07:00
TestMemory.cpp
TestMemoryStream.cpp AK: Add methods to BufferedStream to resize the user supplied buffer 2024-04-21 11:46:55 +02:00
TestNeverDestroyed.cpp Tests: Stop invoking UB in AK::NeverDestroyed's tests 2024-06-05 17:19:14 -06:00
TestNonnullOwnPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestNonnullRefPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestNumberFormat.cpp
TestOptional.cpp AK: Allow the Optional<T> move assignment operator to be trivial 2025-04-22 21:19:31 -06:00
TestOptionParser.cpp AK: Update OptionParser::m_arg_index by substracting skipped args 2024-02-06 00:08:30 +01:00
TestOwnPtr.cpp
TestPrint.cpp
TestQueue.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestQuickSort.cpp
TestRedBlackTree.cpp
TestRefPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestSegmentedVector.cpp
TestSIMD.cpp Meta: Update my email address everywhere 2024-11-01 12:14:53 +01:00
TestSinglyLinkedList.cpp
TestSourceGenerator.cpp
TestSourceLocation.cpp
TestSpan.cpp AK: Conform SimpleIterator to the random access iterator requirements 2024-08-17 17:44:37 -06:00
TestStack.cpp
TestStdLibExtras.cpp AK: Make ceil_div() handle one argument being negative correctly 2024-04-27 07:09:08 +02:00
TestString.cpp AK: Make String::number() much faster for integer types 2025-05-02 19:13:03 +02:00
TestStringFloatingPointConversions.cpp AK: Define FloatingPointExponentialForm comparator in the AK namespace 2024-08-13 14:11:05 +02:00
TestStringUtils.cpp Everywhere: Remove DeprecatedFlyString + any remaining references to it 2025-04-02 11:43:13 +02:00
TestStringView.cpp AK: Ensure empty StringViews all compare as equal 2024-11-15 23:18:29 +01:00
TestTrie.cpp
TestTuple.cpp
TestTypedTransfer.cpp
TestTypeTraits.cpp
TestUFixedBigInt.cpp AK: Make BigIntBase more agnostic to non native word sizes 2024-03-25 14:26:29 -06:00
TestUtf8.cpp AK: Add Utf8View::for_each_split_view() method 2024-11-15 23:18:29 +01:00
TestUtf16.cpp AK: Remove endianness override from Utf16View 2025-04-16 10:04:50 +02:00
TestVariant.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
TestVector.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestWeakPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00