// File: /workspace/github_cpp_makefile_star2_O2/dlbeer[P]summary_map/test_perf.cpp
// Function: main
int main(int argc, char **argv)
{
    const char *path = "/usr/share/dict/words";

    if (argc > 1)
	path = argv[1];

    std::cout << "Loading words from " << path << '\n';

    test_vector vec;
    test_map m;
    std::map<std::string, int> sm;

    load_words(path, vec);
    assert(vec.size() >= 1000);
    std::cout << "Working with " << vec.size() << " items\n\n";

    run_test("summary_map", vec, m);
    run_test("std::map", vec, sm);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
cmpl $0x2, %edi
jl 0x2378
movq 0x8(%rsi), %r14
jmp 0x237f
leaq 0x2c85(%rip), %r14      # 0x5004
movq 0x5c52(%rip), %rdi      # 0x7fd8
leaq 0x2c8d(%rip), %rsi      # 0x501a
callq 0x2150
movq %rax, %rdi
movq %r14, %rsi
callq 0x2150
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x2190
movq %rsp, %rsi
andq $0x0, 0x10(%rsi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
andl $0x0, 0x10(%rax)
movups %xmm0, 0x18(%rax)
movups %xmm0, 0x28(%rax)
andq $0x0, 0x38(%rax)
leaq 0x28(%rsp), %rbx
andl $0x0, (%rbx)
andq $0x0, 0x8(%rbx)
movq %rbx, 0x10(%rbx)
movq %rbx, 0x18(%rbx)
andq $0x0, 0x20(%rbx)
pushq $-0x1
popq %rdx
movq %r14, %rdi
callq 0x3cc4
movq 0x8(%rsp), %rax
subq (%rsp), %rax
pushq $0x28
popq %r13
cqto
idivq %r13
cmpq $0x3e7, %rax            # imm = 0x3E7
jbe 0x276c
movq 0x5bb6(%rip), %rdi      # 0x7fd8
leaq 0x2c3d(%rip), %rsi      # 0x5066
callq 0x2150
movq %rax, %rdi
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cqto
idivq %r13
movq %rax, %rsi
callq 0x2100
leaq 0x2c26(%rip), %rsi      # 0x5074
movq %rax, %rdi
callq 0x2150
movq 0x5b7b(%rip), %rdi      # 0x7fd8
leaq 0x2c19(%rip), %rsi      # 0x507d
callq 0x2150
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x2190
movq %rsp, %rdi
pushq $0x9
popq %rsi
callq 0x3dc8
callq 0x20f0
movq %rax, %r14
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x50(%rsp), %rdi
callq 0x2958
leaq 0x2bf1(%rip), %rdi      # 0x5092
movq %r14, %rsi
callq 0x27b8
movq %rsp, %rdi
pushq $0xa
popq %rsi
callq 0x3dc8
leaq 0x58(%rsp), %r14
xorl %ebp, %ebp
callq 0x20f0
movq %rax, %r15
leaq 0x50(%rsp), %r12
movl %ebp, %ebp
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cqto
idivq %r13
cmpq %rbp, %rax
jbe 0x24f3
imulq $0x28, %rbp, %rax
addq %rax, %rsi
movq %r12, %rdi
callq 0x29c6
incl %ebp
jmp 0x24c8
leaq 0x2ba6(%rip), %rdi      # 0x50a0
movq %r15, %rsi
callq 0x27b8
movq %rsp, %rdi
pushq $0xb
popq %rsi
callq 0x3dc8
xorl %ebp, %ebp
callq 0x20f0
movq %rax, %r15
leaq 0x50(%rsp), %r12
movl %ebp, %ebp
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cqto
idivq %r13
cmpq %rbp, %rax
jbe 0x2547
imulq $0x28, %rbp, %rax
addq %rax, %rsi
movq %r12, %rdi
callq 0x29d0
incl %ebp
jmp 0x251c
leaq 0x2b57(%rip), %rdi      # 0x50a5
movq %r15, %rsi
callq 0x27b8
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x3077
callq 0x20f0
movq %rax, %r15
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x50(%rsp), %rdi
callq 0x2958
leaq 0x2b2c(%rip), %rdi      # 0x50b2
movq %r15, %rsi
callq 0x27b8
callq 0x20f0
movq %rax, %r15
movq %r14, %rdi
callq 0x3062
leaq 0x50(%rsp), %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x29f6
leaq 0x2b08(%rip), %rdi      # 0x50bd
movq %r15, %rsi
callq 0x27b8
movq 0x5a14(%rip), %rdi      # 0x7fd8
pushq $0xa
popq %rsi
callq 0x2190
movq 0x5a05(%rip), %rdi      # 0x7fd8
leaq 0x2aaf(%rip), %rsi      # 0x5089
callq 0x2150
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x2190
movq %rsp, %rdi
pushq $0x9
popq %rsi
callq 0x3dc8
callq 0x20f0
movq %rax, %r14
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x20(%rsp), %rdi
callq 0x3846
leaq 0x2a7b(%rip), %rdi      # 0x5092
movq %r14, %rsi
callq 0x27b8
movq %rsp, %rdi
pushq $0xa
popq %rsi
callq 0x3dc8
xorl %r12d, %r12d
callq 0x20f0
movq %rax, %r14
leaq 0x20(%rsp), %r15
movl %r12d, %r12d
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cqto
idivq %r13
cmpq %r12, %rax
jbe 0x2667
imulq $0x28, %r12, %rax
addq %rax, %rsi
movq %r15, %rdi
callq 0x3a82
incl %r12d
jmp 0x263a
leaq 0x2a32(%rip), %rdi      # 0x50a0
movq %r14, %rsi
callq 0x27b8
movq %rsp, %rdi
pushq $0xb
popq %rsi
callq 0x3dc8
xorl %r12d, %r12d
callq 0x20f0
movq %rax, %r14
leaq 0x20(%rsp), %r15
movl %r12d, %r12d
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
cqto
idivq %r13
cmpq %r12, %rax
jbe 0x26be
imulq $0x28, %r12, %rax
addq %rax, %rsi
movq %r15, %rdi
callq 0x3af8
incl %r12d
jmp 0x2691
leaq 0x29e0(%rip), %rdi      # 0x50a5
movq %r14, %rsi
callq 0x27b8
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x3077
callq 0x20f0
movq %rax, %r14
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x20(%rsp), %rdi
callq 0x3846
leaq 0x29b5(%rip), %rdi      # 0x50b2
movq %r14, %rsi
callq 0x27b8
callq 0x20f0
movq %rax, %r14
leaq 0x20(%rsp), %rdi
movq 0x18(%rdi), %rsi
movq %rbx, %rdx
callq 0x3bd2
leaq 0x2998(%rip), %rdi      # 0x50bd
movq %r14, %rsi
callq 0x27b8
movq 0x58a4(%rip), %rdi      # 0x7fd8
pushq $0xa
popq %rsi
callq 0x2190
leaq 0x20(%rsp), %rdi
callq 0x2876
leaq 0x50(%rsp), %rdi
callq 0x2824
movq %rsp, %rdi
callq 0x284a
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x28bb(%rip), %rdi      # 0x502e
leaq 0x28c7(%rip), %rsi      # 0x5041
leaq 0x28ce(%rip), %rcx      # 0x504f
pushq $0x57
popq %rdx
callq 0x20e0
jmp 0x2791
jmp 0x2791
jmp 0x2791
jmp 0x2791
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2876
leaq 0x50(%rsp), %rdi
callq 0x2824
movq %rsp, %rdi
callq 0x284a
movq %rbx, %rdi
callq 0x2210