<commit_before>---
layout: post
title: Bazel
date:   2016-01-07 16:38 IST

---
<br>
# 1. WORKSPACE

<commit_msg>add how to debug with bazel<commit_after>---
layout: post
title: Bazel
date:   2016-01-07 16:38 IST

---
<br>

# 1. WORKSPACE

# 2. How to build debug version

Add `--compilation_mode=dbg` to the bazel build

```
$ bb benchmark:benchmark --compilation_mode=dbg
```
{'fraction_non_alphanumeric': 0.14893617021276595, 'fraction_numerical': 0.07180851063829788, 'mean_word_length': 3.383720930232558, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4480767', 'n_tokens_mistral': 175, 'n_tokens_neox': 151, 'n_words': 44}