Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State and val functions #664

Merged
merged 14 commits into from May 16, 2021
Merged

State and val functions #664

merged 14 commits into from May 16, 2021

Conversation

emstoudenmire
Copy link
Collaborator

Renames the state functions currently defined for various site types to the better name val. Then introduces new state functions which return single-index ITensors representing various single-site staes. This PR does not introduce the functionality of e.g. writing T[i=>"Up"] = 0.1 yet but we can add that in a future PR.

  • Change state to return ITensors, val to return values
  • Update spinhalf.jl to use new system and to test
  • Update qubit.jl
  • Fix definition of Sy for S=1
  • Upgrade S=1 to new system
  • Add Z+ and Z- vals to S=1/2
  • Update remaining site definitions
  • Fix some leftover merge code
  • Make argument order consistent for val and state
  • Update unit test
  • Update randomMPS to use val instead of state

@github-actions
Copy link
Contributor

Benchmark result

Judge result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmarks:
    • Target: 15 May 2021 - 15:40
    • Baseline: 15 May 2021 - 15:51
  • Package commits:
    • Target: 53697d
    • Baseline: 0fb1c0
  • Julia commits:
    • Target: 6aaede
    • Baseline: 6aaede
  • Julia command flags:
    • Target: None
    • Baseline: None
  • Environment variables:
    • Target: None
    • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["contract", "matmul_inplace_20"] 0.90 (5%) ✅ 1.00 (1%)
["contract", "matmul_inplace_40"] 0.95 (5%) ✅ 1.00 (1%)
["contract", "matmul_inplace_80"] 1.09 (5%) ❌ 1.00 (1%)
["dmrg", "1d_S=1_heisenberg"] 0.95 (5%) ✅ 1.00 (1%)
["getsetindex", "getindex"] 1.08 (5%) ❌ 1.00 (1%)
["getsetindex", "setindex! indval end"] 0.94 (5%) ✅ 1.00 (1%)
["indexset", "constructor", "function"] 1.08 (5%) ❌ 1.00 (1%)
["indexset", "set_functions", "prime, ITensor"] 0.92 (5%) ✅ 1.00 (1%)
["indexset", "set_functions", "uniqueinds", "nofilter2"] 0.89 (5%) ✅ 1.00 (1%)
["inplace", "axpy!"] 0.77 (5%) ✅ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Target

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       6469 s          1 s       1300 s       3474 s          0 s
       #2  2095 MHz       4215 s          1 s        583 s       6458 s          0 s
       
  Memory: 6.791339874267578 GB (1926.5234375 MB free)
  Uptime: 1131.0 sec
  Load Avg:  1.08  1.21  0.89
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake-avx512)

Baseline

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       9518 s          1 s       1548 s       6563 s          0 s
       #2  2095 MHz       7476 s          1 s       1441 s       8727 s          0 s
       
  Memory: 6.791339874267578 GB (1265.33984375 MB free)
  Uptime: 1771.0 sec
  Load Avg:  1.03  1.14  1.02
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake-avx512)

Target result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 15 May 2021 - 15:40
  • Package commit: 53697d
  • Julia commit: 6aaede
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 12.547 s (5%) 951.824 ms 2.66 GiB (1%) 35127973
["autompo", "Quartic QN Hamiltonian"] 23.381 s (5%) 3.413 s 10.94 GiB (1%) 96132202
["contract", "heff_2site"] 5.027 ms (5%) 19.42 MiB (1%) 216
["contract", "matmul_100"] 38.502 μs (5%) 81.20 KiB (1%) 24
["contract", "matmul_20"] 2.875 μs (5%) 6.25 KiB (1%) 23
["contract", "matmul_40"] 7.375 μs (5%) 15.62 KiB (1%) 23
["contract", "matmul_60"] 16.200 μs (5%) 31.20 KiB (1%) 24
["contract", "matmul_80"] 23.001 μs (5%) 53.08 KiB (1%) 24
["contract", "matmul_inplace_100"] 69.404 μs (5%) 314.69 KiB (1%) 24
["contract", "matmul_inplace_20"] 4.650 μs (5%) 14.88 KiB (1%) 20
["contract", "matmul_inplace_40"] 10.600 μs (5%) 52.38 KiB (1%) 20
["contract", "matmul_inplace_60"] 24.101 μs (5%) 114.69 KiB (1%) 24
["contract", "matmul_inplace_80"] 44.003 μs (5%) 202.19 KiB (1%) 24
["dmrg", "1d_S=1_heisenberg"] 21.319 s (5%) 874.543 ms 40.09 GiB (1%) 2185950
["dmrg", "1d_S=1_heisenberg_qn"] 12.899 s (5%) 1.092 s 11.48 GiB (1%) 56673599
["getsetindex", "getindex end"] 190.465 ns (5%) 528 bytes (1%) 5
["getsetindex", "getindex indval end"] 116.151 ns (5%) 352 bytes (1%) 6
["getsetindex", "getindex indval"] 62.440 ns (5%) 272 bytes (1%) 3
["getsetindex", "getindex"] 28.243 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 244.949 ns (5%) 768 bytes (1%) 6
["getsetindex", "setindex! indval end"] 176.238 ns (5%) 784 bytes (1%) 7
["getsetindex", "setindex! indval"] 96.590 ns (5%) 480 bytes (1%) 3
["getsetindex", "setindex!"] 65.853 ns (5%) 224 bytes (1%) 1
["indexset", "constructor", "function"] 598.348 ns (5%) 1.47 KiB (1%) 10
["indexset", "constructor", "function, tuple"] 385.447 ns (5%) 1.31 KiB (1%) 7
["indexset", "filter", "function"] 156.676 ns (5%) 1.14 KiB (1%) 1
["indexset", "filter", "function, tuple"] 0.001 ns (5%)
["indexset", "filter", "kwargs"] 163.595 ns (5%) 1.14 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 325.891 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 374.268 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 266.680 ns (5%) 832 bytes (1%) 4
["indexset", "set_functions", "unioninds, ITensor"] 515.583 ns (5%) 2.53 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 792.260 ns (5%) 3.00 KiB (1%) 12
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 307.900 ns (5%) 976 bytes (1%) 8
["indexset", "set_functions", "uniqueinds", "filter_tags"] 159.206 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 124.133 ns (5%) 368 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 139.580 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 565.202 ns (5%) 1.91 KiB (1%) 7
["inplace", "axpy!"] 14.400 μs (5%) 1.73 KiB (1%) 24
["op", "op QN"] 6.950 μs (5%) 10.55 KiB (1%) 109
["op", "op"] 4.086 μs (5%) 4.19 KiB (1%) 40
["tagset", "tagset"] 396.045 ns (5%) 336 bytes (1%) 9
["tagset", "tagset_unicode"] 575.443 ns (5%) 336 bytes (1%) 9

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       6469 s          1 s       1300 s       3474 s          0 s
       #2  2095 MHz       4215 s          1 s        583 s       6458 s          0 s
       
  Memory: 6.791339874267578 GB (1926.5234375 MB free)
  Uptime: 1131.0 sec
  Load Avg:  1.08  1.21  0.89
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake-avx512)

Baseline result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 15 May 2021 - 15:51
  • Package commit: 0fb1c0
  • Julia commit: 6aaede
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 12.387 s (5%) 900.895 ms 2.66 GiB (1%) 35127968
["autompo", "Quartic QN Hamiltonian"] 23.144 s (5%) 3.251 s 10.95 GiB (1%) 96199367
["contract", "heff_2site"] 5.115 ms (5%) 19.42 MiB (1%) 216
["contract", "matmul_100"] 37.703 μs (5%) 81.20 KiB (1%) 24
["contract", "matmul_20"] 2.850 μs (5%) 6.25 KiB (1%) 23
["contract", "matmul_40"] 7.351 μs (5%) 15.62 KiB (1%) 23
["contract", "matmul_60"] 16.001 μs (5%) 31.20 KiB (1%) 24
["contract", "matmul_80"] 22.501 μs (5%) 53.08 KiB (1%) 24
["contract", "matmul_inplace_100"] 68.704 μs (5%) 314.69 KiB (1%) 24
["contract", "matmul_inplace_20"] 5.184 μs (5%) 14.88 KiB (1%) 20
["contract", "matmul_inplace_40"] 11.200 μs (5%) 52.38 KiB (1%) 20
["contract", "matmul_inplace_60"] 24.401 μs (5%) 114.69 KiB (1%) 24
["contract", "matmul_inplace_80"] 40.203 μs (5%) 202.19 KiB (1%) 24
["dmrg", "1d_S=1_heisenberg"] 22.536 s (5%) 974.825 ms 40.09 GiB (1%) 2185950
["dmrg", "1d_S=1_heisenberg_qn"] 12.606 s (5%) 1.020 s 11.47 GiB (1%) 56673407
["getsetindex", "getindex end"] 195.166 ns (5%) 528 bytes (1%) 5
["getsetindex", "getindex indval end"] 120.566 ns (5%) 352 bytes (1%) 6
["getsetindex", "getindex indval"] 61.826 ns (5%) 272 bytes (1%) 3
["getsetindex", "getindex"] 26.232 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 255.081 ns (5%) 768 bytes (1%) 6
["getsetindex", "setindex! indval end"] 187.808 ns (5%) 784 bytes (1%) 7
["getsetindex", "setindex! indval"] 94.243 ns (5%) 480 bytes (1%) 3
["getsetindex", "setindex!"] 65.545 ns (5%) 224 bytes (1%) 1
["indexset", "constructor", "function"] 554.528 ns (5%) 1.47 KiB (1%) 10
["indexset", "constructor", "function, tuple"] 368.362 ns (5%) 1.31 KiB (1%) 7
["indexset", "filter", "function"] 160.809 ns (5%) 1.14 KiB (1%) 1
["indexset", "filter", "function, tuple"] 0.001 ns (5%)
["indexset", "filter", "kwargs"] 171.718 ns (5%) 1.14 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 336.338 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 389.419 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 290.833 ns (5%) 832 bytes (1%) 4
["indexset", "set_functions", "unioninds, ITensor"] 522.256 ns (5%) 2.53 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 784.468 ns (5%) 3.00 KiB (1%) 12
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 312.880 ns (5%) 976 bytes (1%) 8
["indexset", "set_functions", "uniqueinds", "filter_tags"] 162.703 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 123.771 ns (5%) 368 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 157.171 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 564.073 ns (5%) 1.91 KiB (1%) 7
["inplace", "axpy!"] 18.801 μs (5%) 1.73 KiB (1%) 24
["op", "op QN"] 6.976 μs (5%) 10.55 KiB (1%) 109
["op", "op"] 4.043 μs (5%) 4.19 KiB (1%) 40
["tagset", "tagset"] 393.060 ns (5%) 336 bytes (1%) 9
["tagset", "tagset_unicode"] 571.077 ns (5%) 336 bytes (1%) 9

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  2095 MHz       9518 s          1 s       1548 s       6563 s          0 s
       #2  2095 MHz       7476 s          1 s       1441 s       8727 s          0 s
       
  Memory: 6.791339874267578 GB (1265.33984375 MB free)
  Uptime: 1771.0 sec
  Load Avg:  1.03  1.14  1.02
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake-avx512)

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           85
Model name:                      Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
Stepping:                        4
CPU MHz:                         2095.175
BogoMIPS:                        4190.35
Hypervisor vendor:               Microsoft
Virtualization type:             full
L1d cache:                       64 KiB
L1i cache:                       64 KiB
L2 cache:                        2 MiB
L3 cache:                        35.8 MiB
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     KVM: Vulnerable
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full generic retpoline, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Mitigation; Clear CPU buffers; SMT Host state unknown
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Cpu Property Value
Brand Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
Vendor :Intel
Architecture :Skylake
Model Family: 0x06, Model: 0x55, Stepping: 0x04, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 1024, 36608) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 512 bit = 64 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@github-actions
Copy link
Contributor

Benchmark result

Judge result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmarks:
    • Target: 15 May 2021 - 15:48
    • Baseline: 15 May 2021 - 15:58
  • Package commits:
    • Target: 4ba092
    • Baseline: 0fb1c0
  • Julia commits:
    • Target: 6aaede
    • Baseline: 6aaede
  • Julia command flags:
    • Target: None
    • Baseline: None
  • Environment variables:
    • Target: None
    • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["contract", "matmul_20"] 1.10 (5%) ❌ 1.00 (1%)
["contract", "matmul_inplace_20"] 1.08 (5%) ❌ 1.00 (1%)
["getsetindex", "getindex"] 1.06 (5%) ❌ 1.00 (1%)
["getsetindex", "setindex! indval"] 0.91 (5%) ✅ 1.00 (1%)
["indexset", "constructor", "function"] 1.26 (5%) ❌ 1.00 (1%)
["indexset", "filter", "kwargs"] 0.94 (5%) ✅ 1.00 (1%)
["op", "op QN"] 0.93 (5%) ✅ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Target

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       7689 s          2 s       1009 s       1930 s          0 s
       #2  2294 MHz       3443 s          0 s        844 s       6346 s          0 s
       
  Memory: 6.7913360595703125 GB (1072.67578125 MB free)
  Uptime: 1069.0 sec
  Load Avg:  1.03  1.18  0.91
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, broadwell)

Baseline

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       9520 s          2 s       1411 s       5935 s          0 s
       #2  2294 MHz       7983 s          0 s       1473 s       7420 s          0 s
       
  Memory: 6.7913360595703125 GB (1821.9765625 MB free)
  Uptime: 1694.0 sec
  Load Avg:  1.08  1.21  1.07
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, broadwell)

Target result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 15 May 2021 - 15:48
  • Package commit: 4ba092
  • Julia commit: 6aaede
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 11.508 s (5%) 803.155 ms 2.66 GiB (1%) 35127968
["autompo", "Quartic QN Hamiltonian"] 22.564 s (5%) 3.093 s 10.92 GiB (1%) 95997349
["contract", "heff_2site"] 6.285 ms (5%) 19.42 MiB (1%) 216
["contract", "matmul_100"] 56.999 μs (5%) 81.20 KiB (1%) 24
["contract", "matmul_20"] 4.086 μs (5%) 6.25 KiB (1%) 23
["contract", "matmul_40"] 10.699 μs (5%) 15.62 KiB (1%) 23
["contract", "matmul_60"] 25.800 μs (5%) 31.20 KiB (1%) 24
["contract", "matmul_80"] 35.400 μs (5%) 53.08 KiB (1%) 24
["contract", "matmul_inplace_100"] 100.700 μs (5%) 314.69 KiB (1%) 24
["contract", "matmul_inplace_20"] 5.980 μs (5%) 14.88 KiB (1%) 20
["contract", "matmul_inplace_40"] 16.800 μs (5%) 52.38 KiB (1%) 20
["contract", "matmul_inplace_60"] 38.400 μs (5%) 114.69 KiB (1%) 24
["contract", "matmul_inplace_80"] 64.500 μs (5%) 202.19 KiB (1%) 24
["dmrg", "1d_S=1_heisenberg"] 26.438 s (5%) 1.299 s 40.09 GiB (1%) 2185950
["dmrg", "1d_S=1_heisenberg_qn"] 16.366 s (5%) 1.188 s 11.47 GiB (1%) 56673407
["getsetindex", "getindex end"] 190.776 ns (5%) 528 bytes (1%) 5
["getsetindex", "getindex indval end"] 114.194 ns (5%) 352 bytes (1%) 6
["getsetindex", "getindex indval"] 56.737 ns (5%) 272 bytes (1%) 3
["getsetindex", "getindex"] 22.992 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 242.117 ns (5%) 768 bytes (1%) 6
["getsetindex", "setindex! indval end"] 172.828 ns (5%) 784 bytes (1%) 7
["getsetindex", "setindex! indval"] 87.029 ns (5%) 480 bytes (1%) 3
["getsetindex", "setindex!"] 60.182 ns (5%) 224 bytes (1%) 1
["indexset", "constructor", "function"] 640.692 ns (5%) 1.47 KiB (1%) 10
["indexset", "constructor", "function, tuple"] 368.780 ns (5%) 1.31 KiB (1%) 7
["indexset", "filter", "function"] 169.308 ns (5%) 1.14 KiB (1%) 1
["indexset", "filter", "function, tuple"] 0.001 ns (5%)
["indexset", "filter", "kwargs"] 158.246 ns (5%) 1.14 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 327.597 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 391.783 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 247.379 ns (5%) 832 bytes (1%) 4
["indexset", "set_functions", "unioninds, ITensor"] 557.447 ns (5%) 2.53 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 764.622 ns (5%) 3.00 KiB (1%) 12
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 293.874 ns (5%) 976 bytes (1%) 8
["indexset", "set_functions", "uniqueinds", "filter_tags"] 156.943 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 117.475 ns (5%) 368 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 146.846 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 544.380 ns (5%) 1.91 KiB (1%) 7
["inplace", "axpy!"] 12.200 μs (5%) 1.73 KiB (1%) 24
["op", "op QN"] 8.600 μs (5%) 10.55 KiB (1%) 109
["op", "op"] 3.700 μs (5%) 4.19 KiB (1%) 40
["tagset", "tagset"] 343.779 ns (5%) 336 bytes (1%) 9
["tagset", "tagset_unicode"] 523.684 ns (5%) 336 bytes (1%) 9

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       7689 s          2 s       1009 s       1930 s          0 s
       #2  2294 MHz       3443 s          0 s        844 s       6346 s          0 s
       
  Memory: 6.7913360595703125 GB (1072.67578125 MB free)
  Uptime: 1069.0 sec
  Load Avg:  1.03  1.18  0.91
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, broadwell)

Baseline result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 15 May 2021 - 15:58
  • Package commit: 0fb1c0
  • Julia commit: 6aaede
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 11.465 s (5%) 802.980 ms 2.66 GiB (1%) 35127970
["autompo", "Quartic QN Hamiltonian"] 22.500 s (5%) 3.099 s 10.92 GiB (1%) 95970746
["contract", "heff_2site"] 6.326 ms (5%) 19.42 MiB (1%) 216
["contract", "matmul_100"] 57.000 μs (5%) 81.20 KiB (1%) 24
["contract", "matmul_20"] 3.729 μs (5%) 6.25 KiB (1%) 23
["contract", "matmul_40"] 10.700 μs (5%) 15.62 KiB (1%) 23
["contract", "matmul_60"] 25.700 μs (5%) 31.20 KiB (1%) 24
["contract", "matmul_80"] 35.000 μs (5%) 53.08 KiB (1%) 24
["contract", "matmul_inplace_100"] 99.399 μs (5%) 314.69 KiB (1%) 24
["contract", "matmul_inplace_20"] 5.560 μs (5%) 14.88 KiB (1%) 20
["contract", "matmul_inplace_40"] 16.700 μs (5%) 52.38 KiB (1%) 20
["contract", "matmul_inplace_60"] 36.900 μs (5%) 114.69 KiB (1%) 24
["contract", "matmul_inplace_80"] 63.399 μs (5%) 202.19 KiB (1%) 24
["dmrg", "1d_S=1_heisenberg"] 27.068 s (5%) 1.202 s 40.09 GiB (1%) 2185950
["dmrg", "1d_S=1_heisenberg_qn"] 15.614 s (5%) 1.114 s 11.48 GiB (1%) 56673599
["getsetindex", "getindex end"] 184.979 ns (5%) 528 bytes (1%) 5
["getsetindex", "getindex indval end"] 117.584 ns (5%) 352 bytes (1%) 6
["getsetindex", "getindex indval"] 58.763 ns (5%) 272 bytes (1%) 3
["getsetindex", "getindex"] 21.686 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 233.238 ns (5%) 768 bytes (1%) 6
["getsetindex", "setindex! indval end"] 181.791 ns (5%) 784 bytes (1%) 7
["getsetindex", "setindex! indval"] 95.815 ns (5%) 480 bytes (1%) 3
["getsetindex", "setindex!"] 61.498 ns (5%) 224 bytes (1%) 1
["indexset", "constructor", "function"] 506.971 ns (5%) 1.47 KiB (1%) 10
["indexset", "constructor", "function, tuple"] 374.634 ns (5%) 1.31 KiB (1%) 7
["indexset", "filter", "function"] 175.329 ns (5%) 1.14 KiB (1%) 1
["indexset", "filter", "function, tuple"] 0.001 ns (5%)
["indexset", "filter", "kwargs"] 167.526 ns (5%) 1.14 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 332.575 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 391.783 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 245.883 ns (5%) 832 bytes (1%) 4
["indexset", "set_functions", "unioninds, ITensor"] 561.697 ns (5%) 2.53 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 784.146 ns (5%) 3.00 KiB (1%) 12
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 304.759 ns (5%) 976 bytes (1%) 8
["indexset", "set_functions", "uniqueinds", "filter_tags"] 162.372 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 119.633 ns (5%) 368 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 147.521 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 552.401 ns (5%) 1.91 KiB (1%) 7
["inplace", "axpy!"] 11.800 μs (5%) 1.73 KiB (1%) 24
["op", "op QN"] 9.199 μs (5%) 10.55 KiB (1%) 109
["op", "op"] 3.700 μs (5%) 4.19 KiB (1%) 40
["tagset", "tagset"] 342.857 ns (5%) 336 bytes (1%) 9
["tagset", "tagset_unicode"] 526.316 ns (5%) 336 bytes (1%) 9

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       9520 s          2 s       1411 s       5935 s          0 s
       #2  2294 MHz       7983 s          0 s       1473 s       7420 s          0 s
       
  Memory: 6.7913360595703125 GB (1821.9765625 MB free)
  Uptime: 1694.0 sec
  Load Avg:  1.08  1.21  1.07
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, broadwell)

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           79
Model name:                      Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz
Stepping:                        1
CPU MHz:                         2294.684
BogoMIPS:                        4589.36
Hypervisor vendor:               Microsoft
Virtualization type:             full
L1d cache:                       64 KiB
L1i cache:                       64 KiB
L2 cache:                        512 KiB
L3 cache:                        50 MiB
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     KVM: Vulnerable
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full generic retpoline, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Mitigation; Clear CPU buffers; SMT Host state unknown
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt md_clear
Cpu Property Value
Brand Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz
Vendor :Intel
Architecture :Broadwell
Model Family: 0x06, Model: 0x4f, Stepping: 0x01, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 256, 51200) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 256 bit = 32 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@codecov-commenter
Copy link

codecov-commenter commented May 15, 2021

Codecov Report

Merging #664 (2406ac4) into main (0fb1c0e) will decrease coverage by 0.55%.
The diff coverage is 41.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #664      +/-   ##
==========================================
- Coverage   79.93%   79.38%   -0.56%     
==========================================
  Files          80       80              
  Lines        8713     8781      +68     
==========================================
+ Hits         6965     6971       +6     
- Misses       1748     1810      +62     
Impacted Files Coverage Δ
src/physics/site_types/spinhalf.jl 60.00% <27.77%> (-18.58%) ⬇️
src/physics/site_types/spinone.jl 68.83% <29.62%> (-19.51%) ⬇️
src/physics/site_types/tj.jl 66.66% <33.33%> (-5.34%) ⬇️
src/physics/site_types/electron.jl 70.64% <43.75%> (-5.60%) ⬇️
src/physics/sitetype.jl 80.60% <46.42%> (-13.19%) ⬇️
src/physics/site_types/fermion.jl 89.79% <50.00%> (-7.99%) ⬇️
src/physics/site_types/qubit.jl 54.54% <50.00%> (-2.06%) ⬇️
src/mps/mps.jl 96.89% <100.00%> (ø)
src/NDTensors/dense.jl 78.04% <0.00%> (+0.38%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fb1c0e...2406ac4. Read the comment docs.

@github-actions
Copy link
Contributor

Benchmark result

Judge result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmarks:
    • Target: 15 May 2021 - 16:01
    • Baseline: 15 May 2021 - 16:13
  • Package commits:
    • Target: 51200b
    • Baseline: 0fb1c0
  • Julia commits:
    • Target: 6aaede
    • Baseline: 6aaede
  • Julia command flags:
    • Target: None
    • Baseline: None
  • Environment variables:
    • Target: None
    • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["contract", "heff_2site"] 0.95 (5%) ✅ 1.00 (1%)
["contract", "matmul_40"] 1.05 (5%) ❌ 1.00 (1%)
["contract", "matmul_inplace_40"] 1.07 (5%) ❌ 1.00 (1%)
["getsetindex", "getindex end"] 1.06 (5%) ❌ 1.00 (1%)
["getsetindex", "getindex indval end"] 1.05 (5%) ❌ 1.00 (1%)
["getsetindex", "getindex indval"] 1.05 (5%) ❌ 1.00 (1%)
["getsetindex", "getindex"] 1.13 (5%) ❌ 1.00 (1%)
["getsetindex", "setindex! end"] 1.09 (5%) ❌ 1.00 (1%)
["getsetindex", "setindex! indval"] 1.07 (5%) ❌ 1.00 (1%)
["getsetindex", "setindex!"] 0.92 (5%) ✅ 1.00 (1%)
["indexset", "filter", "kwargs"] 0.94 (5%) ✅ 1.00 (1%)
["indexset", "set_functions", "unioninds, ITensor"] 0.92 (5%) ✅ 1.00 (1%)
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 1.10 (5%) ❌ 1.00 (1%)
["indexset", "set_functions", "uniqueinds", "filter_tags"] 1.21 (5%) ❌ 1.00 (1%)
["inplace", "axpy!"] 0.91 (5%) ✅ 1.00 (1%)
["op", "op"] 1.07 (5%) ❌ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Target

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: 
              speed         user         nice          sys         idle          irq
       #1  2397 MHz       3754 s          2 s        936 s       6790 s          0 s
       #2  2397 MHz       8403 s          0 s        937 s       2166 s          0 s
       
  Memory: 6.791339874267578 GB (1258.73046875 MB free)
  Uptime: 1156.0 sec
  Load Avg:  1.05  1.22  0.96
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, haswell)

Baseline

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: 
              speed         user         nice          sys         idle          irq
       #1  2397 MHz       8695 s          2 s       1318 s       8499 s          0 s
       #2  2397 MHz      10615 s          0 s       1563 s       6356 s          0 s
       
  Memory: 6.791339874267578 GB (1234.1484375 MB free)
  Uptime: 1860.0 sec
  Load Avg:  1.07  1.16  1.07
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, haswell)

Target result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 15 May 2021 - 16:1
  • Package commit: 51200b
  • Julia commit: 6aaede
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 12.793 s (5%) 910.768 ms 2.66 GiB (1%) 35127980
["autompo", "Quartic QN Hamiltonian"] 25.488 s (5%) 3.550 s 10.93 GiB (1%) 96063245
["contract", "heff_2site"] 6.044 ms (5%) 19.42 MiB (1%) 216
["contract", "matmul_100"] 55.902 μs (5%) 81.20 KiB (1%) 24
["contract", "matmul_20"] 3.688 μs (5%) 6.25 KiB (1%) 23
["contract", "matmul_40"] 10.400 μs (5%) 15.62 KiB (1%) 23
["contract", "matmul_60"] 25.101 μs (5%) 31.20 KiB (1%) 24
["contract", "matmul_80"] 34.801 μs (5%) 53.08 KiB (1%) 24
["contract", "matmul_inplace_100"] 99.003 μs (5%) 314.69 KiB (1%) 24
["contract", "matmul_inplace_20"] 5.860 μs (5%) 14.88 KiB (1%) 20
["contract", "matmul_inplace_40"] 16.401 μs (5%) 52.38 KiB (1%) 20
["contract", "matmul_inplace_60"] 36.601 μs (5%) 114.69 KiB (1%) 24
["contract", "matmul_inplace_80"] 65.102 μs (5%) 202.19 KiB (1%) 24
["dmrg", "1d_S=1_heisenberg"] 25.610 s (5%) 1.357 s 40.09 GiB (1%) 2185950
["dmrg", "1d_S=1_heisenberg_qn"] 15.878 s (5%) 1.284 s 11.47 GiB (1%) 56673407
["getsetindex", "getindex end"] 229.689 ns (5%) 528 bytes (1%) 5
["getsetindex", "getindex indval end"] 142.116 ns (5%) 352 bytes (1%) 6
["getsetindex", "getindex indval"] 71.937 ns (5%) 272 bytes (1%) 3
["getsetindex", "getindex"] 25.905 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 304.024 ns (5%) 768 bytes (1%) 6
["getsetindex", "setindex! indval end"] 197.840 ns (5%) 784 bytes (1%) 7
["getsetindex", "setindex! indval"] 108.814 ns (5%) 480 bytes (1%) 3
["getsetindex", "setindex!"] 66.330 ns (5%) 224 bytes (1%) 1
["indexset", "constructor", "function"] 658.847 ns (5%) 1.47 KiB (1%) 10
["indexset", "constructor", "function, tuple"] 439.124 ns (5%) 1.31 KiB (1%) 7
["indexset", "filter", "function"] 190.697 ns (5%) 1.14 KiB (1%) 1
["indexset", "filter", "function, tuple"] 0.001 ns (5%)
["indexset", "filter", "kwargs"] 181.544 ns (5%) 1.14 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 391.104 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 497.464 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 293.992 ns (5%) 832 bytes (1%) 4
["indexset", "set_functions", "unioninds, ITensor"] 627.897 ns (5%) 2.53 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 890.000 ns (5%) 3.00 KiB (1%) 12
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 380.583 ns (5%) 976 bytes (1%) 8
["indexset", "set_functions", "uniqueinds", "filter_tags"] 221.007 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 140.975 ns (5%) 368 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 174.459 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 641.640 ns (5%) 1.91 KiB (1%) 7
["inplace", "axpy!"] 13.900 μs (5%) 1.73 KiB (1%) 24
["op", "op QN"] 10.700 μs (5%) 10.55 KiB (1%) 109
["op", "op"] 4.914 μs (5%) 4.19 KiB (1%) 40
["tagset", "tagset"] 399.517 ns (5%) 336 bytes (1%) 9
["tagset", "tagset_unicode"] 595.017 ns (5%) 336 bytes (1%) 9

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: 
              speed         user         nice          sys         idle          irq
       #1  2397 MHz       3754 s          2 s        936 s       6790 s          0 s
       #2  2397 MHz       8403 s          0 s        937 s       2166 s          0 s
       
  Memory: 6.791339874267578 GB (1258.73046875 MB free)
  Uptime: 1156.0 sec
  Load Avg:  1.05  1.22  0.96
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, haswell)

Baseline result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 15 May 2021 - 16:13
  • Package commit: 0fb1c0
  • Julia commit: 6aaede
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 13.212 s (5%) 933.015 ms 2.66 GiB (1%) 35127968
["autompo", "Quartic QN Hamiltonian"] 25.832 s (5%) 3.629 s 10.95 GiB (1%) 96187670
["contract", "heff_2site"] 6.383 ms (5%) 19.42 MiB (1%) 216
["contract", "matmul_100"] 57.102 μs (5%) 81.20 KiB (1%) 24
["contract", "matmul_20"] 3.525 μs (5%) 6.25 KiB (1%) 23
["contract", "matmul_40"] 9.901 μs (5%) 15.62 KiB (1%) 23
["contract", "matmul_60"] 25.001 μs (5%) 31.20 KiB (1%) 24
["contract", "matmul_80"] 35.801 μs (5%) 53.08 KiB (1%) 24
["contract", "matmul_inplace_100"] 99.603 μs (5%) 314.69 KiB (1%) 24
["contract", "matmul_inplace_20"] 5.760 μs (5%) 14.88 KiB (1%) 20
["contract", "matmul_inplace_40"] 15.301 μs (5%) 52.38 KiB (1%) 20
["contract", "matmul_inplace_60"] 37.302 μs (5%) 114.69 KiB (1%) 24
["contract", "matmul_inplace_80"] 63.102 μs (5%) 202.19 KiB (1%) 24
["dmrg", "1d_S=1_heisenberg"] 25.444 s (5%) 1.364 s 40.09 GiB (1%) 2185950
["dmrg", "1d_S=1_heisenberg_qn"] 15.409 s (5%) 1.239 s 11.47 GiB (1%) 56673407
["getsetindex", "getindex end"] 215.989 ns (5%) 528 bytes (1%) 5
["getsetindex", "getindex indval end"] 134.893 ns (5%) 352 bytes (1%) 6
["getsetindex", "getindex indval"] 68.188 ns (5%) 272 bytes (1%) 3
["getsetindex", "getindex"] 22.992 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 279.530 ns (5%) 768 bytes (1%) 6
["getsetindex", "setindex! indval end"] 195.840 ns (5%) 784 bytes (1%) 7
["getsetindex", "setindex! indval"] 102.021 ns (5%) 480 bytes (1%) 3
["getsetindex", "setindex!"] 72.452 ns (5%) 224 bytes (1%) 1
["indexset", "constructor", "function"] 691.200 ns (5%) 1.47 KiB (1%) 10
["indexset", "constructor", "function, tuple"] 427.738 ns (5%) 1.31 KiB (1%) 7
["indexset", "filter", "function"] 192.421 ns (5%) 1.14 KiB (1%) 1
["indexset", "filter", "function, tuple"] 0.001 ns (5%)
["indexset", "filter", "kwargs"] 193.854 ns (5%) 1.14 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 388.629 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 512.770 ns (5%) 1.45 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 290.237 ns (5%) 832 bytes (1%) 4
["indexset", "set_functions", "unioninds, ITensor"] 684.873 ns (5%) 2.53 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 885.000 ns (5%) 3.00 KiB (1%) 12
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 345.033 ns (5%) 976 bytes (1%) 8
["indexset", "set_functions", "uniqueinds", "filter_tags"] 183.340 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 139.108 ns (5%) 368 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 178.557 ns (5%) 688 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 650.335 ns (5%) 1.91 KiB (1%) 7
["inplace", "axpy!"] 15.300 μs (5%) 1.73 KiB (1%) 24
["op", "op QN"] 11.200 μs (5%) 10.55 KiB (1%) 109
["op", "op"] 4.614 μs (5%) 4.19 KiB (1%) 40
["tagset", "tagset"] 401.005 ns (5%) 336 bytes (1%) 9
["tagset", "tagset_unicode"] 607.800 ns (5%) 336 bytes (1%) 9

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 20.04.2 LTS
  uname: Linux 5.4.0-1047-azure #49-Ubuntu SMP Thu Apr 22 14:30:37 UTC 2021 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz: 
              speed         user         nice          sys         idle          irq
       #1  2397 MHz       8695 s          2 s       1318 s       8499 s          0 s
       #2  2397 MHz      10615 s          0 s       1563 s       6356 s          0 s
       
  Memory: 6.791339874267578 GB (1234.1484375 MB free)
  Uptime: 1860.0 sec
  Load Avg:  1.07  1.16  1.07
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, haswell)

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           63
Model name:                      Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
Stepping:                        2
CPU MHz:                         2397.222
BogoMIPS:                        4794.44
Hypervisor vendor:               Microsoft
Virtualization type:             full
L1d cache:                       64 KiB
L1i cache:                       64 KiB
L2 cache:                        512 KiB
L3 cache:                        30 MiB
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     KVM: Vulnerable
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full generic retpoline, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm invpcid_single pti fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt md_clear
Cpu Property Value
Brand Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
Vendor :Intel
Architecture :Haswell
Model Family: 0x06, Model: 0x3f, Stepping: 0x02, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 256, 30720) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 256 bit = 32 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@emstoudenmire emstoudenmire merged commit 34f8eb9 into main May 16, 2021
@emstoudenmire emstoudenmire deleted the 503_state_val branch May 16, 2021 04:04
@mtfishman mtfishman mentioned this pull request May 19, 2021
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants