Fixed benchmarks
This commit is contained in:
parent
662c7d7f68
commit
33bb8022cb
5 changed files with 12 additions and 13 deletions
|
@ -13,12 +13,13 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#![feature(test)]
|
||||||
|
|
||||||
|
extern crate rand;
|
||||||
extern crate test;
|
extern crate test;
|
||||||
extern crate cgmath;
|
extern crate cgmath;
|
||||||
|
|
||||||
use std::rand::{IsaacRng, Rng};
|
use rand::{IsaacRng, Rng};
|
||||||
use std::iter;
|
use std::iter;
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
use cgmath::{Quaternion, Basis2, Basis3, Vector3, Rotation2, Rotation3, Rad};
|
use cgmath::{Quaternion, Basis2, Basis3, Vector3, Rotation2, Rotation3, Rad};
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#![feature(test)]
|
||||||
|
|
||||||
|
extern crate rand;
|
||||||
|
|
||||||
extern crate test;
|
extern crate test;
|
||||||
extern crate cgmath;
|
extern crate cgmath;
|
||||||
|
|
||||||
use std::rand::{IsaacRng, Rng};
|
use rand::{IsaacRng, Rng};
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
use cgmath::*;
|
use cgmath::*;
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#![feature(test)]
|
||||||
|
|
||||||
|
extern crate rand;
|
||||||
|
|
||||||
extern crate test;
|
extern crate test;
|
||||||
extern crate cgmath;
|
extern crate cgmath;
|
||||||
|
|
||||||
use std::rand::{IsaacRng, Rng};
|
use rand::{IsaacRng, Rng};
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
use cgmath::*;
|
use cgmath::*;
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#![feature(test)]
|
||||||
|
|
||||||
|
extern crate rand;
|
||||||
|
|
||||||
extern crate test;
|
extern crate test;
|
||||||
extern crate cgmath;
|
extern crate cgmath;
|
||||||
|
|
||||||
use std::rand::{IsaacRng, Rng};
|
use rand::{IsaacRng, Rng};
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
use cgmath::*;
|
use cgmath::*;
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![feature(core)]
|
|
||||||
|
|
||||||
extern crate cgmath;
|
extern crate cgmath;
|
||||||
|
|
||||||
use cgmath::{Vector4, ortho, Matrix, Matrix4, Vector};
|
use cgmath::{Vector4, ortho, Matrix, Matrix4, Vector};
|
||||||
|
|
Loading…
Reference in a new issue