lnls-fac / trackcpp

Particle tracking code
GNU General Public License v3.0
3 stars 3 forks source link

improve tracking.h #29

Closed fernandohds564 closed 4 years ago

fernandohds564 commented 4 years ago

old: CPU times: user 27.2 s, sys: 119 ms, total: 27.3 s Wall time: 27.2 s

new: CPU times: user 1.88 s, sys: 161 ms, total: 2.04 s Wall time: 2.03 s

------------------------------------------------------------------------

bun.shape == (6, 1000) bpms.shape==(160, ) out, *args = pyaccel.tracking.line_pass(ring, bun, indices=bpms) out.shape == (6, 1000, 160)

old: CPU times: user 2.61 s, sys: 48.8 ms, total: 2.65 s Wall time: 2.59 s

new: CPU times: user 1.72 s, sys: 25 ms, total: 1.74 s Wall time: 1.74 s

xresende commented 4 years ago

lembrei agora: atualizar a versão!