diff --git a/compiler/cpp/compiler.vcxproj b/compiler/cpp/compiler.vcxproj index 9b6c924078d..de1f16379dc 100644 --- a/compiler/cpp/compiler.vcxproj +++ b/compiler/cpp/compiler.vcxproj @@ -149,6 +149,7 @@ $(ProjectDir)\src\;$(ProjectDir)\src\windows\;$(IncludePath) thrift $(ExecutablePath);C:\Program Files (x86)\Git\bin + E:\D\TOOLS\Thrift\ true diff --git a/compiler/cpp/src/thrift/main.cc b/compiler/cpp/src/thrift/main.cc index 56c5811013d..2edb44bfa83 100644 --- a/compiler/cpp/src/thrift/main.cc +++ b/compiler/cpp/src/thrift/main.cc @@ -661,7 +661,7 @@ void error_unsupported_namespace_decl(const char* old_form, const char* new_form * Prints the version number */ void version() { - printf("Thrift version %s\n", THRIFT_VERSION); + printf("Thrift version %s (custom build)\n", THRIFT_VERSION); } /** diff --git a/lib/delphi/Thrift.groupproj b/lib/delphi/Thrift.groupproj new file mode 100644 index 00000000000..f41f293eff9 --- /dev/null +++ b/lib/delphi/Thrift.groupproj @@ -0,0 +1,120 @@ + + + {86AE16E4-18D4-4C07-B06C-491E22A26C74} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default.Personality.12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.ps1 b/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.ps1 index 961795b075a..c3fd1c13671 100644 --- a/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.ps1 +++ b/lib/delphi/test/codegen/run-Pascal-Codegen-Tests.ps1 @@ -184,7 +184,7 @@ function TestIdlFile([string] $idl) { #---- main ------------------------------------------------- # CONFIGURATION BEGIN # configuration settings, adjust as necessary to meet your system setup -$MY_THRIFT_FILES = "" +$MY_THRIFT_FILES = "..\..\..\..\..\..\other_thrift_files" $VERBOSE = "" # set any Thrift compiler debug/verbose flag you want # init diff --git a/lib/delphi/test/testsuite/client/Performance/Referenz.txt b/lib/delphi/test/testsuite/client/Performance/Referenz.txt new file mode 100644 index 00000000000..53cb154f619 --- /dev/null +++ b/lib/delphi/test/testsuite/client/Performance/Referenz.txt @@ -0,0 +1,21 @@ +Delphi TestClient 0.14.0 +Setting up for ProtocolPeformanceTest ... +RunTest(binary): write = 2650 msec +RunTest(binary): read = 3135 msec +RunTest(compact): write = 2807 msec +RunTest(compact): read = 3053 msec +RunTest(JSON): write = 13251 msec +RunTest(JSON): read = 18759 msec +RunTest(binary + buffered): write = 2635 msec +RunTest(binary + buffered): read = 3109 msec +RunTest(compact + buffered): write = 2788 msec +RunTest(compact + buffered): read = 3069 msec +RunTest(JSON + buffered): write = 13604 msec +RunTest(JSON + buffered): read = 21537 msec +RunTest(binary + framed): write = 3019 msec +RunTest(binary + framed): read = 3573 msec +RunTest(compact + framed): write = 3201 msec +RunTest(compact + framed): read = 3504 msec +RunTest(JSON + framed): write = 15093 msec +RunTest(JSON + framed): read = 21548 msec +Hit ENTER ... \ No newline at end of file diff --git a/test/netstd/Referenz.txt b/test/netstd/Referenz.txt new file mode 100644 index 00000000000..58088e4c93d --- /dev/null +++ b/test/netstd/Referenz.txt @@ -0,0 +1,20 @@ +E:\D\TPCPP\Thrift\wc-XE-all\wc-JensG-haxe\test\netstd\Client\bin\Release\netcoreapp3.1>Client.exe --performance +Setting up for ProtocolPeformanceTestAsync ... +RunTestAsync(TBinaryProtocol): write = 1982 msec +RunTestAsync(TBinaryProtocol): read = 4995 msec +RunTestAsync(TCompactProtocol): write = 1240 msec +RunTestAsync(TCompactProtocol): read = 3964 msec +RunTestAsync(TJsonProtocol): write = 5206 msec +RunTestAsync(TJsonProtocol): read = 23249 msec +RunTestAsync(TBinaryProtocol + TBufferedTransport): write = 1990 msec +RunTestAsync(TBinaryProtocol + TBufferedTransport): read = 5777 msec +RunTestAsync(TCompactProtocol + TBufferedTransport): write = 1453 msec +RunTestAsync(TCompactProtocol + TBufferedTransport): read = 4761 msec +RunTestAsync(TJsonProtocol + TBufferedTransport): write = 8859 msec +RunTestAsync(TJsonProtocol + TBufferedTransport): read = 30925 msec +RunTestAsync(TBinaryProtocol + TFramedTransport): write = 2042 msec +RunTestAsync(TBinaryProtocol + TFramedTransport): read = 5726 msec +RunTestAsync(TCompactProtocol + TFramedTransport): write = 1480 msec +RunTestAsync(TCompactProtocol + TFramedTransport): read = 4818 msec +RunTestAsync(TJsonProtocol + TFramedTransport): write = 8612 msec +RunTestAsync(TJsonProtocol + TFramedTransport): read = 30810 msec