<commit_before>cmake_minimum_required (VERSION 2.8.12)
project (optimization-experiments)

option(ENABLE_MMX "Enable MMX instructions" OFF)
option(ENABLE_SSE "Enable SSE instructions" OFF)
option(ENABLE_SSE2 "Enable SSE2 instructions" OFF)
option(ENABLE_SSE3 "Enable SSE3 instructions" OFF)

# Set compiler flags
set(DEFAULT_CXX_COMPILER_OPTIONS "-Wall -Werror")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEFAULT_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")

# Set linker flags
set(OPTIM_LINKER_BENCHMARK benchmark pthread)
set(OPTIM_LINKER_UNITTEST catch)
set(OPTIM_LINKER_STD c rt)<commit_msg>Added output artifacts that show the generated assembly.<commit_after>cmake_minimum_required (VERSION 2.8.12)
project (optimization-experiments)

option(ENABLE_MMX "Enable MMX instructions" OFF)
option(ENABLE_SSE "Enable SSE instructions" OFF)
option(ENABLE_SSE2 "Enable SSE2 instructions" OFF)
option(ENABLE_SSE3 "Enable SSE3 instructions" OFF)

# Set compiler flags
set(DEFAULT_CXX_COMPILER_OPTIONS "-Wall -Werror")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEFAULT_CXX_FLAGS} -save-temps -fverbose-asm")    # Since this project is about micro benchmarks, enable assembler output by default
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")

# Set linker flags
set(OPTIM_LINKER_BENCHMARK benchmark pthread)
set(OPTIM_LINKER_UNITTEST catch)
set(OPTIM_LINKER_STD c rt)
{'fraction_non_alphanumeric': 0.08958195089581951, 'fraction_numerical': 0.010617120106171201, 'mean_word_length': 9.120805369127517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '293529', 'n_tokens_mistral': 556, 'n_tokens_neox': 512, 'n_words': 118}