Skip to content

高速化 #19

@rrbox

Description

@rrbox
Owner

SIMD を使用した配列オブジェクトを試作し, 転写, 相補鎖の生成などがどれだけ高速化されるか検証する.

Activity

rrbox

rrbox commented on Aug 15, 2022

@rrbox
OwnerAuthor

#20 相補鎖の生成速度については 2倍以上向上した.

rrbox

rrbox commented on Aug 15, 2022

@rrbox
OwnerAuthor

複合塩基数の集計にはあまり向かないようであった. むしろ4倍遅くなった.

rrbox

rrbox commented on Aug 15, 2022

@rrbox
OwnerAuthor

Uint8 の比較を, .< オペレーターを使うとうまくいくかもしれない.

rrbox

rrbox commented on Aug 15, 2022

@rrbox
OwnerAuthor

SIMDMask を算出する.<演算を検討したが, 実行速度は改善されず, 以前同様4倍ほど遅かった.

changed the title [-]SIMD による高速化[/-] [+]高速化[/+] on Aug 16, 2022
rrbox

rrbox commented on Aug 17, 2022

@rrbox
OwnerAuthor

N を無視しない複合塩基数の集計 の計算で, 以下のような改善が見られた.

  • Accelerate の simd を一部使用した結果, SIMD を使用しない配列と同程度の速度まで改善した(10万塩基).
  • 100 万塩基, 1000 万塩基の計算では, 1.1 倍ほど高速になった.
  • 劇的な高速化はできなかった.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rrbox

        Issue actions

          高速化 · Issue #19 · rrbox/Nucleotide-Swift