Testing on windows sometimes takes a very long time to run


#1

Hello!
when I type "openfl test windows"
sometimes it run in like 20 seconds other times it shows this then freezes for like 5 minutes before running :

Compiling group: haxe
cl.exe -Iinclude -nologo -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\Owner\Desktop\flash projects\getEmails\bin\windows\obj\obj/msvc16-ncxp/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -Oy- -c -EHs -GS- -arch:SSE2 -IC:/HaxeToolkit/haxe/lib/hxcpp/3,4,188/include -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]
 - src/sys/ssl/_Socket/SocketOutput.cpp
 - src/sys/ssl/_Socket/SocketInput.cpp
 - src/sys/ssl/Socket.cpp
 - src/sys/net/Socket.cpp
 - src/sys/ssl/Certificate.cpp
 - src/sys/net/_Socket/SocketOutput.cpp
 - src/sys/net/_Socket/SocketInput.cpp
 - src/sys/io/Process.cpp
 - src/sys/io/_Process/Stdout.cpp
 - src/sys/io/_Process/Stdin.cpp
 - src/sys/FileSystem.cpp
 - src/openfl/utils/AssetCache.cpp
 - src/openfl/text/TextField.cpp  [haxe,release]
 - src/openfl/net/URLVariables.cpp
 - src/openfl/display/Stage.cpp  [haxe,release]
 - src/openfl/display/Loader.cpp  [haxe,release]
 - src/openfl/_internal/text/TextEngine.cpp  [haxe,release]
 - src/openfl/_internal/swf/SWFLite.cpp  [haxe,release]
 - src/openfl/_internal/stage3D/opengl/GLProgram3D.cpp  [haxe,release]
 - src/openfl/display/Shader.cpp  [haxe,release]
 - src/openfl/Lib.cpp  [haxe,release]
 - src/lime/utils/Assets.cpp  [haxe,release]
 - src/lime/utils/AssetManifest.cpp  [haxe,release]
 - src/lime/utils/AssetCache.cpp  [haxe,release]
 - src/lime/system/System.cpp  [haxe,release]
 - src/lime/system/CFFI.cpp  [haxe,release]
 - src/lime/_backend/native/NativeHTTPRequest.cpp  [haxe,release]
 - src/lime/_backend/native/NativeGLRenderContext.cpp  [haxe,release]
 - src/haxe/io/Path.cpp
 - src/haxe/io/BytesOutput.cpp
 - src/haxe/io/Output.cpp
 - src/haxe/io/Input.cpp
 - src/haxe/format/JsonPrinter.cpp
 - src/haxe/Unserializer.cpp
 - src/haxe/Serializer.cpp
 - src/haxe/Http.cpp
 - src/Sys.cpp
 - src/StringTools.cpp
 - src/Markets.cpp
 - src/ManifestResources.cpp
 - src/Lambda.cpp
 - src/DocumentClass.cpp
 - src/Main.cpp
 - src/ApplicationMain.cpp
 - src/__boot__.cpp

what can I do ?


#2

Use a newer Visual Studio C++? I think newer versions handle this better


#3

thanks mate :smiley: