// File: wichtounet[P]articles/src/intrusive_list/bench.cpp
// Function: (anonymous namespace)::bench_iterate<Normal<8u>>::run()
static void run(){
        new_graph<T>("iterate", "us");

        auto sizes = {100000, 200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000};
        bench<std::list<T>,                                 microseconds, FilledRandom, Iterate>("list",               sizes);
        bench<typename intrusive_list_type<T::size>::L1,    microseconds, FilledRandom, Iterate>("normal_ilist",       sizes);
        bench<typename intrusive_list_type<T::size>::L2,    microseconds, FilledRandom, Iterate>("safe_list",          sizes);
        bench<typename intrusive_list_type<T::size>::L3,    microseconds, FilledRandom, Iterate>("auto_unlink_list",   sizes);
    }

// Assembly:
subq $0x168, %rsp            # imm = 0x168
leaq 0x147(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x3350
movq 0x28(%rsp), %rdx
leaq 0x64653(%rip), %rsi     # 0x710c8
leaq 0x148(%rsp), %rdi
callq 0x32a0
jmp 0xca84
leaq 0x10f(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x3350
movq 0x20(%rsp), %rdx
leaq 0x6456e(%rip), %rsi     # 0x71010
leaq 0x110(%rsp), %rdi
callq 0x32a0
jmp 0xcab1
leaq 0x148(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x10130
jmp 0xcac8
leaq 0x110(%rsp), %rdi
callq 0x3140
leaq 0x10f(%rsp), %rdi
callq 0x3230
leaq 0x148(%rsp), %rdi
callq 0x3140
leaq 0x147(%rsp), %rdi
callq 0x3230
movabsq $0xf4240000dbba0, %rax  # imm = 0xF4240000DBBA0
movq %rax, 0xf0(%rsp)
vmovdqu 0x6498a(%rip), %ymm0    # 0x714a0
vmovdqu %ymm0, 0xd0(%rsp)
leaq 0xd0(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq $0xa, 0x100(%rsp)
leaq 0xaf(%rsp), %rdi
movq %rdi, 0x18(%rsp)
vzeroupper
callq 0x3350
movq 0x18(%rsp), %rdx
leaq 0x644c9(%rip), %rsi     # 0x71025
leaq 0xb0(%rsp), %rdi
callq 0x32a0
jmp 0xcb6b
leaq 0xb0(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x5d660
jmp 0xcb82
leaq 0xb0(%rsp), %rdi
callq 0x3140
leaq 0xaf(%rsp), %rdi
callq 0x3230
leaq 0x87(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x3350
movq 0x10(%rsp), %rdx
leaq 0x64459(%rip), %rsi     # 0x71013
leaq 0x88(%rsp), %rdi
callq 0x32a0
jmp 0xcbc9
leaq 0x88(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x5d890
jmp 0xcbe0
leaq 0x88(%rsp), %rdi
callq 0x3140
leaq 0x87(%rsp), %rdi
callq 0x3230
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3350
movq 0x8(%rsp), %rdx
leaq 0x6440b(%rip), %rsi     # 0x71020
leaq 0x60(%rsp), %rdi
callq 0x32a0
jmp 0xcc21
leaq 0x60(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x5dad0
jmp 0xcc35
leaq 0x60(%rsp), %rdi
callq 0x3140
leaq 0x5f(%rsp), %rdi
callq 0x3230
leaq 0x37(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3350
movq (%rsp), %rdx
leaq 0x643c8(%rip), %rsi     # 0x7102a
leaq 0x38(%rsp), %rdi
callq 0x32a0
jmp 0xcc6e
leaq 0x38(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x5dd10
jmp 0xcc82
leaq 0x38(%rsp), %rdi
callq 0x3140
leaq 0x37(%rsp), %rdi
callq 0x3230
addq $0x168, %rsp            # imm = 0x168
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
jmp 0xcd05
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
jmp 0xcceb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
leaq 0x110(%rsp), %rdi
callq 0x3140
leaq 0x10f(%rsp), %rdi
callq 0x3230
leaq 0x148(%rsp), %rdi
callq 0x3140
leaq 0x147(%rsp), %rdi
callq 0x3230
jmp 0xce24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
jmp 0xcd4e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x3140
leaq 0xaf(%rsp), %rdi
callq 0x3230
jmp 0xce24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
jmp 0xcd97
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x3140
leaq 0x87(%rsp), %rdi
callq 0x3230
jmp 0xce24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
jmp 0xcdda
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x3140
leaq 0x5f(%rsp), %rdi
callq 0x3230
jmp 0xce24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
jmp 0xce1a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x138(%rsp)
movl %eax, 0x134(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x3140
leaq 0x37(%rsp), %rdi
callq 0x3230
movq 0x138(%rsp), %rdi
callq 0x3340
nopw %cs:(%rax,%rax)