// File: wichtounet[P]articles/src/vector_list/bench.cpp
// Function: bench_fill_front<Trivial<8>>::run()
static void run(){
        new_graph<T>("fill_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, FillFront>("vector", sizes);
        }

        bench<std::list<T>,   microseconds, Empty, FillFront>("list",   sizes);
        bench<std::deque<T>,  microseconds, Empty, FillFront>("deque",  sizes);
    }

// Assembly:
subq $0x138, %rsp            # imm = 0x138
leaq 0x117(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x3370
movq 0x20(%rsp), %rdx
leaq 0x95ed5(%rip), %rsi     # 0xc848a
leaq 0x118(%rsp), %rdi
callq 0x32a0
jmp 0x325c4
leaq 0xdf(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x3370
movq 0x18(%rsp), %rdx
leaq 0x95dec(%rip), %rsi     # 0xc83ce
leaq 0xe0(%rsp), %rdi
callq 0x32a0
jmp 0x325f1
leaq 0x118(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x9c60
jmp 0x32608
leaq 0xe0(%rsp), %rdi
callq 0x3150
leaq 0xdf(%rsp), %rdi
callq 0x3240
leaq 0x118(%rsp), %rdi
callq 0x3150
leaq 0x117(%rsp), %rdi
callq 0x3240
movabsq $0x186a000015f90, %rax  # imm = 0x186A000015F90
movq %rax, 0xc0(%rsp)
vmovdqu 0x9619a(%rip), %ymm0    # 0xc87f0
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 0x3370
movq 0x10(%rsp), %rdx
leaq 0x95d38(%rip), %rsi     # 0xc83d1
leaq 0x80(%rsp), %rdi
callq 0x32a0
jmp 0x326a8
leaq 0x80(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x328e0
jmp 0x326bf
leaq 0x80(%rsp), %rdi
callq 0x3150
leaq 0x7f(%rsp), %rdi
callq 0x3240
leaq 0x57(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3370
movq 0x8(%rsp), %rdx
leaq 0x95ce7(%rip), %rsi     # 0xc83d8
leaq 0x58(%rsp), %rdi
callq 0x32a0
jmp 0x326fd
leaq 0x58(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x32b10
jmp 0x32711
leaq 0x58(%rsp), %rdi
callq 0x3150
leaq 0x57(%rsp), %rdi
callq 0x3240
leaq 0x2f(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3370
movq (%rsp), %rdx
leaq 0x95c9f(%rip), %rsi     # 0xc83dd
leaq 0x30(%rsp), %rdi
callq 0x32a0
jmp 0x3274a
leaq 0x30(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x32d40
jmp 0x3275e
leaq 0x30(%rsp), %rdi
callq 0x3150
leaq 0x2f(%rsp), %rdi
callq 0x3240
addq $0x138, %rsp            # imm = 0x138
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x327e1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x327c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0xe0(%rsp), %rdi
callq 0x3150
leaq 0xdf(%rsp), %rdi
callq 0x3240
leaq 0x118(%rsp), %rdi
callq 0x3150
leaq 0x117(%rsp), %rdi
callq 0x3240
jmp 0x328b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x3282a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x80(%rsp), %rdi
callq 0x3150
leaq 0x7f(%rsp), %rdi
callq 0x3240
jmp 0x328b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x3286a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x3150
leaq 0x57(%rsp), %rdi
callq 0x3240
jmp 0x328b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0x328aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x3150
leaq 0x2f(%rsp), %rdi
callq 0x3240
movq 0x108(%rsp), %rdi
callq 0x3360
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)