This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import namedtuple | |
from pymongo import MongoClient | |
from flask import request | |
from core.web.site import app | |
from core.web.site.views_master import * | |
import json | |
''' | |
$('#companies').dataTable( { | |
"bProcessing": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require("SortPerf.jl") | |
SortPerf.std_sort_tests(;sort_algs=[QuickSort, OldQuickSort], | |
types=[Int, Float32, Float64], | |
range=6:19, | |
replicates=1000, | |
save=true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## modeled after sort tests in python's sortperf.py | |
## | |
## Kevin Squire | |
## | |
module SortPerf | |
export sortperf, sort_plots, view_sort_plots, save_sort_plots, std_sort_tests, sort_median, sort_scale | |
import Base.Sort: Algorithm, Forward, ReverseOrdering, ord |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
illerucis@julia:~/sortperf$ ../julia/./julia -p 20 perfit.jl | |
QuickSortAlg() | |
Testing Int64... | |
6 | |
ERROR: reptimes not defined | |
in _sortperf at /home/illerucis/sortperf/SortPerf.jl:1509 | |
in _sortperf at /home/illerucis/sortperf/SortPerf.jl:165 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module TestIt | |
export test_call | |
function test_call() | |
test() | |
end | |
function test() |