class STRING_BENCHMARK_SHELL

(source code)

description

String related benchmark comparisons

note
	description: "String related benchmark comparisons"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2024-11-05 10:07:21 GMT (Tuesday 5th November 2024)"
	revision: "45"

class
	STRING_BENCHMARK_SHELL

inherit
	EL_BENCHMARK_COMMAND_SHELL
		export
			{EL_COMMAND_CLIENT} make
		end

create
	make

feature -- Constants

	Description: STRING = "String related benchmark comparisons"

feature {NONE} -- Implementation

	new_benchmarks: TUPLE [
		ARRAYED_INTERVAL_LIST_COMPARISON,
		ATTACH_TEST_VS_BOOLEAN_COMPARISON,

		IF_ATTACHED_ITEM_VS_CONFORMING_INSTANCE_TABLE,
		IMMUTABLE_STRING_SPLIT_COMPARISON,
		LINE_STATE_MACHINE_COMPARISON,

		MAKE_GENERAL_COMPARISON,

		STRING_CONCATENATION_COMPARISON,
		STRING_SPLIT_ITERATION_COMPARISON,
		STRING_ITEM_8_VS_ITEM,
		STRING_8_SPLIT_VS_SPLIT_ON_CHARACTER_8,
		STRING_8_TWIN_VS_SCOPE_COPIED_ITEM,
		SUBSTRING_INDEX_COMPARISON,

		REPLACE_SUBSTRING_ALL_VS_GENERAL,

		COMPACT_SUBSTRINGS_32_ITERATION_COMPARISON,
		COMPACT_SUBSTRINGS_32_BUFFERING_COMPARISON,
		UNICODE_ITEM_COMPARISON,

		ZCODEC_AS_Z_CODE,
		ZSTRING_APPEND_GENERAL_VS_APPEND,
		ZSTRING_APPEND_Z_CODE_VS_APPEND_CHARACTER,
		ZSTRING_AREA_ITERATION_COMPARISON,
		ZSTRING_DEVELOPER_COMPARISON,
		ZSTRING_INTERVAL_SEARCH_COMPARISON,
		ZSTRING_SAME_CHARACTERS_COMPARISON,
		ZSTRING_SPLIT_COMPARISON,
		ZSTRING_SPLIT_LIST_COMPARISON,
		ZSTRING_TOKENIZATION_COMPARISON,
		ZSTRING_UNICODE_TO_Z_CODE
	]
		do
			create Result
		end

end