Skip to content

Fix and speedup max_dist and nearest_neighbor bonding algorithms #335

Fix and speedup max_dist and nearest_neighbor bonding algorithms

Fix and speedup max_dist and nearest_neighbor bonding algorithms #335

Triggered via pull request June 27, 2024 21:08
Status Failure
Total duration 1m 19s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
tests/unit/bonding.test.ts > Bonding Functions Performance Tests > max_dist performance for 10 atoms: tests/unit/bonding.test.ts#L33
AssertionError: average run time: 1, max expected: 0.1: expected 0.16721250000045984 to be less than or equal to 0.1 ❯ perf_test tests/unit/bonding.test.ts:33:5 ❯ tests/unit/bonding.test.ts:61:9
tests/unit/bonding.test.ts > Bonding Functions Performance Tests > max_dist performance for 100 atoms: tests/unit/bonding.test.ts#L33
AssertionError: average run time: 4, max expected: 1: expected 3.1312334999993254 to be less than or equal to 1 ❯ perf_test tests/unit/bonding.test.ts:33:5 ❯ tests/unit/bonding.test.ts:61:9
tests/unit/bonding.test.ts > Bonding Functions Performance Tests > max_dist performance for 1000 atoms: tests/unit/bonding.test.ts#L33
AssertionError: average run time: 103, max expected: 40: expected 102.2828515000001 to be less than or equal to 40 ❯ perf_test tests/unit/bonding.test.ts:33:5 ❯ tests/unit/bonding.test.ts:61:9
tests/unit/bonding.test.ts > Bonding Functions Performance Tests > max_dist performance for 5000 atoms: tests/unit/bonding.test.ts#L33
AssertionError: average run time: 1039, max expected: 1000: expected 1038.0101215000004 to be less than or equal to 1000 ❯ perf_test tests/unit/bonding.test.ts:33:5 ❯ tests/unit/bonding.test.ts:61:9
tests/unit/bonding.test.ts > Bonding Functions Performance Tests > nearest_neighbor performance for 10 atoms: tests/unit/bonding.test.ts#L33
AssertionError: average run time: 1, max expected: 0.2: expected 0.20461799999884533 to be less than or equal to 0.2 ❯ perf_test tests/unit/bonding.test.ts:33:5 ❯ tests/unit/bonding.test.ts:61:9
tests/unit/bonding.test.ts > Bonding Functions Performance Tests > nearest_neighbor performance for 1000 atoms: tests/unit/bonding.test.ts#L33
AssertionError: average run time: 130, max expected: 50: expected 129.42748949999987 to be less than or equal to 50 ❯ perf_test tests/unit/bonding.test.ts:33:5 ❯ tests/unit/bonding.test.ts:61:9
tests / tests
Process completed with exit code 1.