<commit_before>--
-- Premake4 build script (http://industriousone.com/premake/download)
--

solution 'cpp-bench'
    configurations {'Debug', 'Release'}
    language 'C++'
    --flags {'ExtraWarnings'}
    targetdir 'bin'
    platforms {'x32','x64'}

    configuration 'Debug'
        defines { 'DEBUG' }
        flags { 'Symbols' }

    configuration 'Release'
        defines { 'NDEBUG' }
        flags { 'Symbols', 'Optimize' }

    project 'benchmark'
        location 'build'
        kind 'ConsoleApp'
        uuid '31BC2F58-F374-4984-B490-F1F08ED02DD3'
        files
        {
            'src/*.h',
            'src/*.cpp',
            'test/*.h',
            'test/*.cpp',
        }
        includedirs
        {
            'src',
        }
        if os.get() == 'windows' then
        defines 
        {
            'WIN32',
            'WIN32_LEAN_AND_MEAN',
            '_WIN32_WINNT=0x0600',
            '_CRT_SECURE_NO_WARNINGS',
            '_SCL_SECURE_NO_WARNINGS',
            'NOMINMAX',
        }
        end
        
        if os.get() == 'linux' then
        buildoptions { '-std=c++11' }
        defines 
        { 
            '__STDC_LIMIT_MACROS',        
        }
        links
        {
            'rt',
        }
        end
        
<commit_msg>platform specific macros<commit_after>--
-- Premake4 build script (http://industriousone.com/premake/download)
--

solution 'cpp-bench'
    configurations {'Debug', 'Release'}
    language 'C++'
    --flags {'ExtraWarnings'}
    targetdir 'bin'
    platforms {'x32','x64'}

    configuration 'Debug'
        defines { 'DEBUG' }
        flags { 'Symbols' }

    configuration 'Release'
        defines { 'NDEBUG' }
        flags { 'Symbols', 'Optimize' }

    configuration 'vs*'
        defines
        {
            'WIN32',
            'WIN32_LEAN_AND_MEAN',
            '_WIN32_WINNT=0x0600',
            '_CRT_SECURE_NO_WARNINGS',
            '_SCL_SECURE_NO_WARNINGS',
            '_WINSOCK_DEPRECATED_NO_WARNINGS',
            'NOMINMAX',
        }
    configuration 'gmake'
        buildoptions '-std=c++11'
        defines
        {
            '__STDC_LIMIT_MACROS',
        }
        links 'rt'
        
    project 'benchmark'
        location 'build'
        kind 'ConsoleApp'
        uuid '31BC2F58-F374-4984-B490-F1F08ED02DD3'
        files
        {
            'src/*.h',
            'src/*.cpp',
            'test/*.h',
            'test/*.cpp',
        }
        includedirs
        {
            'src',
        }

{'fraction_non_alphanumeric': 0.1270410195141378, 'fraction_numerical': 0.03106332138590203, 'mean_word_length': 1.3969465648854962, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4572611', 'n_tokens_mistral': 841, 'n_tokens_neox': 804, 'n_words': 135}