Git Product home page Git Product logo

uecompiletimesvisualizer's People

Contributors

phyronnaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uecompiletimesvisualizer's Issues

UE4.20 and 4.21 default toolchain version doesn't support /d1reportTime

In UEBuildWindows.cs, the DefaultVisualStudioToolchainVersion is set to 14.13.26128 which is under the required version in VCToolChain.cs of 14.14.26316

It would be useful to update the UE4 setup instructions to make sure that the toolchain default is set to >= 14.14.26316 or that the default toolchain is uninstalled prior to building, otherwise you get an output that skips the Include/Function sections and breaks the python parser.

Python parser fails on msvc 2017(v141) toolchain 14.16.27023

Hi
I'm trying your tool with MSVC 2017(v141) and get the following issues

MSVC log file detected main.cpp Parsing includes... Parsing 48 items... Includes parsed! Parsing classes... Parsing 510 items... Classes parsed! Parsing functions... Parsing 204 items... Functions parsed! Traceback (most recent call last): File "main.py", line 335, in <module> parse_beginstring("time(") File "main.py", line 188, in parse_beginstring assert line.startswith(string), "{} does not start with {}".format(line, string) AssertionError: crc.cpp does not start with time(

When I patch the script by
if try_parse_string("time("): parse_beginstring("time(")

adding on line 355 I get this

Traceback (most recent call last): File "main.py", line 276, in <module> assert False, "Invalid file name: " + line AssertionError: Invalid file name: Generating Code...

My log file at that stage looks like this:
` time(C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\c1xx.dll)=1.29531s < 90845892721 - 90850567985 > [A_PATH_TO_A_FILE.cpp]
Generating Code...
Code Generation Summary
Total Function Count: 182
Elapsed Time: 0.010 sec
Total Compilation Time: 0.034 sec
Average time per function: 0.000 sec
Anomalistic Compile Times: 3
SOME LINKER WARNINGS

RdrReadProc Caching Stats
Functions Cached: 0
Retrieved Count: 0
Abandoned Retrieval Count: 0
Abandoned Caching Count: 0
Wasted Caching Attempts: 0
Functions Retrieved at Least Once: 0
Functions Cached and Never Retrieved: 0
Most Hits:
Least Hits: `

Am I inadvertently adding any flags that change the output?

MSVC, assert, one more case

Hi, thank you for the tool. Just checked out it on the following project. (As a matter of fact, compiler and linker options are currently commented in "premake.lua")

repository, in case one wonders
and one of the logs demo_game.log

Excerpt from the "main.py" output:

Traceback (most recent call last):
  File "main.py", line 276, in <module>
    assert False, "Invalid file name: " + line
AssertionError: Invalid file name:

However I figured to replace "assert False ..." line with mere "continue" and successfuly got all respective "*.csv" files. So, no sweat =)

MSVC output - assert with precompiled headers

Hi, I have a Qt project with precompiled headers and for my output, I end up with an assert:

    Parsing includes...
Traceback (most recent call last):
  File "main.py", line 278, in <module>
    includes_tree = parse_section(current_file, get_include_name)
  File "main.py", line 226, in parse_section
    count = parse_count()
  File "main.py", line 111, in parse_count
    return parse_int("Count:")
  File "main.py", line 95, in parse_int
    assert string in line, "{} not in {}".format(string, line)
AssertionError: Count: not in cl -c -Yc -Fprelease\Base_pch.pch -Forelease\Base_pch.obj /Bt+ /d2cgsummary /d1reportTime /std:c++17 -DNDEBUG /Fdrelease\Base.vc.pdb -TP ..\..\src\Base\stable.h

I've attached the beginning of the log: sample_log.txt

Thanks for looking into it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.