These are chat archives for ChaiScript/ChaiScript

31st
Mar 2015
Jason Turner
@lefticus
Mar 31 2015 21:31
In comparing the latest TwoFold_Qt vs the latest TwoFold_ChaiScript, on Linux, G++ this is what I see
jason@jason-VirtualBox:~/Twofold-Qt$ test/bin/TestBenchmark 
********* Start testing of TestBenchmark *********
Config: Using QtTest library 5.2.1, Qt 5.2.1
PASS   : TestBenchmark::initTestCase()
PASS   : TestBenchmark::prepare()
RESULT : TestBenchmark::prepare():
     0.14 msecs per iteration (total: 75, iterations: 512)
PASS   : TestBenchmark::execute()
RESULT : TestBenchmark::execute():
     261 msecs per iteration (total: 261, iterations: 1)
PASS   : TestBenchmark::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped
********* Finished testing of TestBenchmark *********
********* Start testing of TestBenchmark *********
Config: Using QtTest library 5.2.1, Qt 5.2.1
PASS   : TestBenchmark::initTestCase()
PASS   : TestBenchmark::prepare()
RESULT : TestBenchmark::prepare():
     0.047 msecs per iteration (total: 98, iterations: 2048)
PASS   : TestBenchmark::execute()
RESULT : TestBenchmark::execute():
     509 msecs per iteration (total: 509, iterations: 1)
PASS   : TestBenchmark::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped
********* Finished testing of TestBenchmark *********
Top is TwoFold_Qt, bottom is TwoFold_ChaiScript
You're on mingw, correct?
Andreas Reischuck
@arBmind
Mar 31 2015 21:42
It does not really matter on Windows - the timescale is always the same
I now run the latest Qt 5.4.1
Jason Turner
@lefticus
Mar 31 2015 21:46
I wonder if I'm doing something that might cause a regression on windows. I'll give it a shot.
Andreas Reischuck
@arBmind
Mar 31 2015 21:47
********* Start testing of TestBenchmark *********
Config: Using QtTest library 5.4.1, Qt 5.4.1 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 4.9.1)
PASS   : TestBenchmark::initTestCase()
PASS   : TestBenchmark::prepare()
RESULT : TestBenchmark::prepare():
     0.013 msecs per iteration (total: 57, iterations: 4096)
648956
648956
PASS   : TestBenchmark::execute()
RESULT : TestBenchmark::execute():
     1,629 msecs per iteration (total: 1,629, iterations: 1)
648956
648956
648956
648956
PASS   : TestBenchmark::executeCPP()
RESULT : TestBenchmark::executeCPP():
     40 msecs per iteration (total: 80, iterations: 2)
PASS   : TestBenchmark::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped, 0 blacklisted
********* Finished testing of TestBenchmark *********
The numbers are std::cout << target.text.length() << '\n';- this was to ensure the result is the same in the C++ only test :)
Andreas Reischuck
@arBmind
Mar 31 2015 21:54
which gcc version do you use?
Andreas Reischuck
@arBmind
Mar 31 2015 22:01
I have to go now. I hope you can find anything...
9q10ww01es7qhsz1
@9q10ww01es7qhsz1
Mar 31 2015 22:12
There is no synax highlighting package for ST3?
Jason Turner
@lefticus
Mar 31 2015 22:17
Note that I know of... what's ST3?
it's not a terribly complex language, generally copying the javascript highlighter and tweaking it works
@arBmind 4.8.2
9q10ww01es7qhsz1
@9q10ww01es7qhsz1
Mar 31 2015 22:24
@lefticus Sublime Text 3
Jason Turner
@lefticus
Mar 31 2015 22:25
Ah. I can look into it