summary refs log tree commit diff stats
path: root/compiler/rodutils.nim
Commit message (Expand)AuthorAgeFilesLines
* fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556)andri lim2018-08-071-0/+21
* new .rod file implementation; part 1: writing of the fileAraq2018-02-171-0/+4
* Fixes codegen bug with literal negative zero, fixes #7079 (#7158)GULPF2018-01-311-6/+10
* breaking change: arrays of char do not convert to cstring; ptr to array of ch...Andreas Rumpf2017-10-101-3/+8
* don't filter '\0' characters in string generationArne Döring2017-08-071-1/+1
* removed newString proc again, reverted some unnecesary changesArne Döring2017-07-241-3/+3
* remove $ for ptr/ref, prefer using string over array of charArne Döring2017-07-241-4/+4
* arrays can now be printedArne Döring2017-07-241-2/+1
* Fixes #5821 (float32 literal comparison issue) (#5825)Dominik Picheta2017-05-171-3/+3
* compiler almost free of deprecated expr/stmt namesAndreas Rumpf2016-07-301-1/+1
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-1/+1
* compiler: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-17/+17
* Nimrod renamed to NimAraq2014-08-281-1/+1
* Fix more 'undeclared identifier' errors.EXetoC2014-05-141-1/+1
* case consistency part 4Araq2013-12-271-1/+1
* case consistency part 1Araq2013-12-271-2/+2
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
* year 2012 for most copyright headersAraq2012-01-021-1/+1
* first steps to C file merge operation for incremental compilationAraq2011-10-211-2/+2
* bugfixes for ROD file generation; nimcache dir is now flatAraq2011-10-201-3/+18
* much more efficient rod file generationAraq2011-10-181-2/+96
* big repo cleanupAraq2011-04-121-0/+27
">doAssert(execCmdEx("nim c -d:release " & file).exitCode == QuitSuccess) proc runBench(file: string): TBenchResult = ## Runs ``file`` and returns info on how long it took to run. var start = epochTime() if execCmdEx(file.addFileExt(ExeExt)).exitCode == QuitSuccess: var t = epochTime() - start result = (file, true, t) else: result = (file, false, -1.0) proc genOutput(benches: seq[TBenchResult]): PJsonNode = result = newJObject() for i in benches: if i.success: result[i.file.extractFilename] = newJFloat(i.time) else: result[i.file.extractFilename] = newJNull() proc doBench(): seq[TBenchResult] = result = @[] for i in walkFiles("tests/benchmarks/*.nim"): echo(i.extractFilename) compileBench(i) result.add(runBench(i)) when isMainModule: var b = doBench() var output = genOutput(b) writeFile("benchmarkResults.json", pretty(output))