// File: wichtounet[P]articles/src/vector_list_update_1/bench.cpp
// Function: bench_emplace_front<Trivial<8>>::run()
static void run(){
        new_graph<T>("emplace_front", "us");

        auto sizes = { 10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000, 100000 };

        // it is too slow with bigger data types
        if(is_small<T>()){
            bench<std::vector<T>, microseconds, Empty, EmplaceFront>("vector", sizes);
        }

        bench<std::list<T>,   microseconds, Empty, EmplaceFront>("list",   sizes);
        bench<std::deque<T>,  microseconds, Empty, EmplaceFront>("deque",  sizes);
        // colony is unordered
    }

// Assembly:
subq $0x138, %rsp            # imm = 0x138
leaq 0x117(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x5370
movq 0x20(%rsp), %rdx
leaq 0x11a0b9(%rip), %rsi    # 0x17f57e
leaq 0x118(%rsp), %rdi
callq 0x52a0
jmp 0x654d4
leaq 0xdf(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x5370
movq 0x18(%rsp), %rdx
leaq 0x119fdc(%rip), %rsi    # 0x17f4ce
leaq 0xe0(%rsp), %rdi
callq 0x52a0
jmp 0x65501
leaq 0x118(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x12830
jmp 0x65518
leaq 0xe0(%rsp), %rdi
callq 0x5150
leaq 0xdf(%rsp), %rdi
callq 0x5240
leaq 0x118(%rsp), %rdi
callq 0x5150
leaq 0x117(%rsp), %rdi
callq 0x5240
movabsq $0x186a000015f90, %rax  # imm = 0x186A000015F90
movq %rax, 0xc0(%rsp)
vmovdqu 0x11a506(%rip), %ymm0   # 0x17fa6c
vmovdqu %ymm0, 0xa0(%rsp)
leaq 0xa0(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq $0xa, 0xd0(%rsp)
leaq 0x7f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
vzeroupper
callq 0x5370
movq 0x10(%rsp), %rdx
leaq 0x119f28(%rip), %rsi    # 0x17f4d1
leaq 0x80(%rsp), %rdi
callq 0x52a0
jmp 0x655b8
leaq 0x80(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x657f0
jmp 0x655cf
leaq 0x80(%rsp), %rdi
callq 0x5150
leaq 0x7f(%rsp), %rdi
callq 0x5240
leaq 0x57(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x5370
movq 0x8(%rsp), %rdx
leaq 0x119ed7(%rip), %rsi    # 0x17f4d8
leaq 0x58(%rsp), %rdi
callq 0x52a0
jmp 0x6560d
leaq 0x58(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x65a20
jmp 0x65621
leaq 0x58(%rsp), %rdi
callq 0x5150
leaq 0x57(%rsp), %rdi
callq 0x5240
leaq 0x2f(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x5370
movq (%rsp), %rdx
leaq 0x119e8f(%rip), %rsi    # 0x17f4dd
leaq 0x30(%rsp), %rdi
callq 0x52a0
jmp 0x6565a
leaq 0x30(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x65c50
jmp 0x6566e
leaq 0x30(%rsp), %rdi
callq 0x5150
leaq 0x2f(%rsp), %rdi
callq 0x5240
addq $0x138, %rsp            # imm = 0x138
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x656f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x656d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0xe0(%rsp), %rdi
callq 0x5150
leaq 0xdf(%rsp), %rdi
callq 0x5240
leaq 0x118(%rsp), %rdi
callq 0x5150
leaq 0x117(%rsp), %rdi
callq 0x5240
jmp 0x657c4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x6573a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x80(%rsp), %rdi
callq 0x5150
leaq 0x7f(%rsp), %rdi
callq 0x5240
jmp 0x657c4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x6577a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x5150
leaq 0x57(%rsp), %rdi
callq 0x5240
jmp 0x657c4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x657ba
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x5150
leaq 0x2f(%rsp), %rdi
callq 0x5240
movq 0x108(%rsp), %rdi
callq 0x5360
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)