codstts 0.1.0

A code statistics tool that analyzes programming language distribution in projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use codstts::core::ProjectAnalyzer;
use criterion::{criterion_group, criterion_main, Criterion};

fn analyze_benchmark(c: &mut Criterion) {
    let mut analyzer = ProjectAnalyzer::new();
    c.bench_function("analyze small project", |b| {
        b.iter(|| analyzer.analyze_project("."))
    });
}

criterion_group!(benches, analyze_benchmark);
criterion_main!(benches);