bitshifter / mathbench-rs

Comparing performance of Rust math libraries for common 3D game and graphics tasks
Other
197 stars 16 forks source link

How does adding a new lib work? #6

Closed Lokathor closed 5 years ago

Lokathor commented 5 years ago

It seems like I can just put another row into the list and it magically does it all, and the template seems to be

.with_function("CRATE NAME", |b| {
            use CRATE::{STUFF};
            bench_unop!(b, op => METHOD_NAME, ty => TYPE)
        })

or using bench_binop for binary operations

Is this all a person needs to do? Or are there other steps as well?

Lokathor commented 5 years ago

Oh it's in the readme but just you gotta scroll waaaay down on a phone, my mistake!

bitshifter commented 5 years ago

I only just started adding it to the readme so it probably wasn't there when you looked. Let me know if you think any documentation is missing.

On Mon., 22 Jul. 2019, 03:10 Lokathor, notifications@github.com wrote:

Closed #6 https://github.com/bitshifter/mathbench-rs/issues/6.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitshifter/mathbench-rs/issues/6?email_source=notifications&email_token=AABBEFELMA5NZZKNNVOKAV3QASKALA5CNFSM4IFS6TX2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSTTLPYA#event-2498148320, or mute the thread https://github.com/notifications/unsubscribe-auth/AABBEFABDFYFIHO6GVVWM73QASKALANCNFSM4IFS6TXQ .