<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
#include "attributesearcher.h"
#include "attributeupdater.h"
#include <vespa/searchlib/util/randomgenerator.h>
#include "runnable.h"
#include <vespa/searchlib/attribute/attribute.h>
#include <vespa/searchlib/attribute/attributeguard.h>
#include <vespa/searchlib/attribute/attributefactory.h>
#include <vespa/searchlib/attribute/singlenumericattribute.h>
#include <vespa/searchlib/attribute/multinumericattribute.h>
#include <vespa/searchlib/attribute/singlestringattribute.h>
#include <vespa/searchlib/attribute/multistringattribute.h>
#include <vespa/searchlib/attribute/attrvector.h>
#include <vespa/vespalib/util/sync.h>
#include <iostream>
#include <fstream>
#include <vespa/log/log.h>

LOG_SETUP("attributebenchmark");

#include <vespa/searchlib/attribute/attributevector.hpp>

using vespalib::Monitor;
using vespalib::MonitorGuard;
using std::shared_ptr;

typedef std::vector<uint32_t> NumVector;
typedef std::vector<vespalib::string> StringVector;
typedef AttributeVector::SP AttributePtr;
typedef AttributeVector::DocId DocId;
typedef search::attribute::Config AttrConfig;
using search::attribute::BasicType;
using search::attribute::CollectionType;

namespace search {
<commit_msg>relocated to subdir, update paths<commit_after>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
#include "../attributesearcher.h"
#include "../attributeupdater.h"
#include "../runnable.h"
#include <vespa/searchlib/util/randomgenerator.h>
#include <vespa/searchlib/attribute/attribute.h>
#include <vespa/searchlib/attribute/attributeguard.h>
#include <vespa/searchlib/attribute/attributefactory.h>
#include <vespa/searchlib/attribute/singlenumericattribute.h>
#include <vespa/searchlib/attribute/multinumericattribute.h>
#include <vespa/searchlib/attribute/singlestringattribute.h>
#include <vespa/searchlib/attribute/multistringattribute.h>
#include <vespa/searchlib/attribute/attrvector.h>
#include <vespa/vespalib/util/sync.h>
#include <iostream>
#include <fstream>
#include <vespa/log/log.h>

LOG_SETUP("attributebenchmark");

#include <vespa/searchlib/attribute/attributevector.hpp>

using vespalib::Monitor;
using vespalib::MonitorGuard;
using std::shared_ptr;

typedef std::vector<uint32_t> NumVector;
typedef std::vector<vespalib::string> StringVector;
typedef AttributeVector::SP AttributePtr;
typedef AttributeVector::DocId DocId;
typedef search::attribute::Config AttrConfig;
using search::attribute::BasicType;
using search::attribute::CollectionType;

namespace search {

{'fraction_non_alphanumeric': 0.12367361873399195, 'fraction_numerical': 0.005854372484449323, 'mean_word_length': 7.762820512820513, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '7659088', 'n_tokens_mistral': 903, 'n_tokens_neox': 863, 'n_words': 172}