<commit_before>#include "tangram.h"
#include "gl.h"

#include "text/fontContext.h"

#include "benchmark/benchmark_api.h"
#include "benchmark/benchmark.h"

using namespace Tangram;

static void BM_Tangram_LoadFont(benchmark::State& state) {
    while(state.KeepRunning()) {
        state.PauseTiming();
        std::shared_ptr<FontContext> m_ftContext;
        m_ftContext = std::make_shared<FontContext>();
        state.ResumeTiming();
        m_ftContext->addFont("FiraSans-Medium.ttf", "FiraSans");
    }
}
BENCHMARK(BM_Tangram_LoadFont);

BENCHMARK_MAIN();<commit_msg>Updated benchmarks with new addFont func<commit_after>#include "tangram.h"
#include "gl.h"

#include "text/fontContext.h"

#include "benchmark/benchmark_api.h"
#include "benchmark/benchmark.h"

using namespace Tangram;

static void BM_Tangram_LoadFont(benchmark::State& state) {
    while(state.KeepRunning()) {
        state.PauseTiming();
        std::shared_ptr<FontContext> m_ftContext;
        m_ftContext = std::make_shared<FontContext>();
        state.ResumeTiming();
        m_ftContext->addFont("FiraSans", "Medium", "");
    }
}
BENCHMARK(BM_Tangram_LoadFont);

BENCHMARK_MAIN();
{'fraction_non_alphanumeric': 0.13855421686746988, 'fraction_numerical': 0.0, 'mean_word_length': 4.729064039408867, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '6227324', 'n_tokens_mistral': 419, 'n_tokens_neox': 414, 'n_words': 60}