Skip to content

create timing comparison with kbmag #66

Description

@kalmarek

@RearrangedLetters

  • incorporate build.jl into deps directory;
  • run timings script, e.g.
kbprog = joinpath(@__DIR__, "usr", "bin", "kbprog")
@assert isfile(kbprog)

function clean_kbprog(file)
    for fn in ("$file.kbprog", "$file.kbprog.ec", "$file.reduce")
        isfile(fn) && rm(fn)
    end
end

kb_data = joinpath(@__DIR__, "..", "kb_data")
@assert isdir(kb_data)
using Test
for fn in readdir(kb_data)
    if endswith(fn, "kbprog") || endswith(fn, "ec") || endswith(fn, "reduce")
        continue
    end
    @info fn
    if fn in ("degen4c", "f27monoid", "heinnilp", "verifynilp")
        @info "skipping"
        continue
    end

    file = joinpath(kb_data, fn)
    clean_kbprog(file)
    @time run(`$kbprog $file`)
    clean_kbprog(file)
end

and generate report/table comparison

  • why are the four examples above failing?
  • investigate the defaults for kbmag (stack-size= tidyint) etc.
  • rerun KnuthBendix with those

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

    Issue actions