Commits

asc...@andrewschein.com  committed cbdaec0

adding last file.

  • Participants
  • Parent commits 06d1907

Comments (0)

Files changed (2)

File isort/ufunc/u2_isort.c

-#define ISORT_LT(a,b) (*(a) < *(b))
-#define ISORT_TY unsigned short
-#define IS_(name) u2_##name
-#include "isort/isort.c"

File usort/t/small-cmp.sh

+#!/usr/bin/zsh -e
+
+echo "TESTING APP: " ${app:="f8"}
+APP=$app
+
+i=(8 16 32 64 128 )
+t=(10000 10000 10000 10000 1000)
+
+sz=${#i[@]}
+c=1
+echo "N               usort (secs)    GLIBC qsort (secs)    x-fold speedup"
+c=1
+
+while [ $c -le $sz ] ; do
+    ./${APP} ${i[$c]} RAND ${t[$c]}  
+    c=$(( $c + 1 ))
+done;