<commit_before>/*
 * This file is part of the IAN project - https://github.com/Meoo/IAN
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef IAN_EASY_PROFILER_HEADER
#define IAN_EASY_PROFILER_HEADER

#ifdef IAN_ENABLE_PROFILING
#  include <easy/profiler.h>
#else

#  define EASY_BLOCK(...)
#  define EASY_NONSCOPED_BLOCK(...)
#  define EASY_FUNCTION(...)
#  define EASY_END_BLOCK
#  define EASY_PROFILER_ENABLE
#  define EASY_PROFILER_DISABLE
#  define EASY_EVENT(...)
#  define EASY_THREAD(...)
#  define EASY_THREAD_SCOPE(...)
#  define EASY_MAIN_THREAD
#  define EASY_SET_EVENT_TRACING_ENABLED(isEnabled)
#  define EASY_SET_LOW_PRIORITY_EVENT_TRACING(isLowPriority)

namespace profiler
{
inline void startListen(int = 0) {}
inline void stopListen() {}
} // namespace profiler

#endif

#endif
<commit_msg>Ignore lint for EasyProfiler dummy function<commit_after>/*
 * This file is part of the IAN project - https://github.com/Meoo/IAN
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef IAN_EASY_PROFILER_HEADER
#define IAN_EASY_PROFILER_HEADER

#ifdef IAN_ENABLE_PROFILING
#  include <easy/profiler.h>
#else

#  define EASY_BLOCK(...)
#  define EASY_NONSCOPED_BLOCK(...)
#  define EASY_FUNCTION(...)
#  define EASY_END_BLOCK
#  define EASY_PROFILER_ENABLE
#  define EASY_PROFILER_DISABLE
#  define EASY_EVENT(...)
#  define EASY_THREAD(...)
#  define EASY_THREAD_SCOPE(...)
#  define EASY_MAIN_THREAD
#  define EASY_SET_EVENT_TRACING_ENABLED(isEnabled)
#  define EASY_SET_LOW_PRIORITY_EVENT_TRACING(isLowPriority)

namespace profiler
{
inline void startListen(int = 0) {} // NOLINT
inline void stopListen() {}         // NOLINT
} // namespace profiler

#endif

#endif

{'fraction_non_alphanumeric': 0.1048951048951049, 'fraction_numerical': 0.004995004995004995, 'mean_word_length': 4.189119170984456, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4115379', 'n_tokens_mistral': 758, 'n_tokens_neox': 758, 'n_words': 187}