Commit Graph

41 Commits

Author SHA1 Message Date
Gil Gribb
2bff847be0 UE4 - Lots of changes to the task graph include new experimental scheduler, current used on PS4, but expected to be used on all platforms after it shakes out.
[CL 2680413 by Gil Gribb in Main branch]
2015-09-04 11:22:22 -04:00
Adric Worley
f5f2ed759e Remove dead code from Containers test
[CL 2679302 by Adric Worley in Main branch]
2015-09-03 16:22:42 -04:00
Adric Worley
9d134e7464 #ENGINE - Integrating automation test flags refactor
- New filter flags in automationtest.h
- Compile time errors if proper flags are not specified
- Existing tests converted to new flags
- New "disabled" flag
- Filter dropdown in automation UI replaces Smoke Tests button
- Automation features are no longer compiled out in Test configuration at runtime (except in Shipping)
- Enabled automation tests to be triggered from in-game console in non-editor builds (automation controller is enabled)

NOTE: This will force licensees who use automation to update their tests.
#codereview: jason.bestimt, mike.fricker, ben.salem

[CL 2672561 by Adric Worley in Main branch]
2015-08-28 13:23:02 -04:00
Dan Oconnor
060e41436f Inline versions of ToLower/ToUpper so that I can avoid some unneeded copying (or at least moving)
[CL 2661514 by Dan Oconnor in Main branch]
2015-08-19 15:53:04 -04:00
Gil Gribb
b7d8b9603f Merging 2640056 (plus a few minor fixes)
//depot/UE4-Orion/...

to //depot/UE4/...

UE4 -  rollup of many performance changes

* increased max threads for task graph and added a way to reduce task threads at runtime for testing the optimal number
* added a way to track excessive allocation at runtime without using the memory profiler: LogGameThreadMallocChurn.Enable
* ps4: fixed a few problems with the platform properties, IsRunningGame was returning false
* added inline storage for one delegate in multicast delegates
* fixed excessive allocation on the script stack traceback
* fixed excessive malloc calls throughout the animation system
* added stats throughout the animation system
* reworked parallel queue ticks
* fixed excessive malloc calls in cloth and physics animation systems
* fixed GHitchThresholdCVar
* minor improvements to abtest
* added ability to change thread affinities on the fly so they can be tuned
* cvars to control animrate optimization and spew the results: EnableAnimRateOptimization, SpewAnimRateOptimization, DrawAnimRateOptimization, ForceAnimRate
* optimized malloc calls in cascade and gpu particles
* optimized malloc calls in input system
* removed visual logging and ability log from consoles and fixed a few compile errors related to doing that
* optimized gameplaytags
* added a few cvars to cause stalls in various parts of the pipeline to identify critical paths and bottlenecks: CriticalPathStall.*
* added console command to toggle all known outstanding perf tweaks: Orion.SetupPerfCVars

[CL 2642061 by Gil Gribb in Main branch]
2015-08-03 11:44:45 -04:00
Steve Robb
d1605aa96b FindMatchingClosingParenthesis moved to UnrealString.h, return value fixed (was off-by-one) and checked upper bound of StartSearch.
UnrealHeaderTool now supports casts and brackets when recognizing UENUMs as array bounds.

#codereview robert.manuszewski,leigh.swift,lee.clark

[CL 2635565 by Steve Robb in Main branch]
2015-07-28 13:08:12 -04:00
Steve Robb
cbac34aabd Deprecated delegate code removed.
Some fixes for deprecated code.

#codereview robert.manuszewski

[CL 2617562 by Steve Robb in Main branch]
2015-07-11 05:10:03 -04:00
Steve Robb
0709480948 New IsSorted algorithm.
New FindSortedStringCaseInsensitive algorithm, which binary searches strings in an array.
Many UHT string tests replaced with FindSortedStringCaseInsensitive.
FPropertySpecifier moved to UHT.

#codereview robert.manuszewski

[CL 2587588 by Steve Robb in Main branch]
2015-06-15 13:40:28 -04:00
Jaroslaw Surowiec
142e01b15e Core - UE-15731/Any stat command in the editor crashes with a bogus assert inside FString::ChrN
[CL 2554678 by Jaroslaw Surowiec in Main branch]
2015-05-18 05:46:06 -04:00
Jamie Dale
e9973f5928 Added IsValidIndex to FString and had the [] operators use this to verify the index they were given was valid
Fixed some fallout from this change in existing code.

ReviewedBy Steve.Robb

[CL 2552937 by Jamie Dale in Main branch]
2015-05-15 11:35:46 -04:00
Jaroslaw Surowiec
fd443fe108 Core - Added ToHexBlob and FromHexBlob
[CL 2552255 by Jaroslaw Surowiec in Main branch]
2015-05-15 04:44:41 -04:00
Adric Worley
e578e2d7cd Separate automated system tests from project-specific tests
[CL 2514485 by Adric Worley in Main branch]
2015-04-16 12:40:47 -04:00
Mikolaj Sieluzycki
d932c964d8 Typo fix.
[CL 2499675 by Mikolaj Sieluzycki in Main branch]
2015-04-02 06:19:19 -04:00
Mikolaj Sieluzycki
d6326e6eaf Add check for negative deserialized string size.
#codereview Robert.Manuszewski

[CL 2499651 by Mikolaj Sieluzycki in Main branch]
2015-04-02 05:55:45 -04:00
Todd Eckert
79e183780f Merging Dev->Main up to CL#2479653 using UE4-Fortnite-To-UE4.
*because of tons of changes, I will supply the changelists in the email because it was too large for this checkin*

[CL 2483008 by Todd Eckert in Main branch]
2015-03-18 10:12:32 -04:00
Gil Gribb
4a1474e8eb UE4 - roll back lockfree allocator; does not work
[CL 2478518 by Gil Gribb in Main branch]
2015-03-13 10:23:38 -04:00
Gil Gribb
fac2757e73 UE4 - fix tests on TlsSlots
[CL 2477150 by Gil Gribb in Main branch]
2015-03-12 14:25:45 -04:00
Gil Gribb
6dfb5e7a63 UE4 - reduce ticking overhead and optimize the task graph
[CL 2476798 by Gil Gribb in Main branch]
2015-03-12 10:17:51 -04:00
Steve Robb
e1537719cc LogUnion log category restored.
#codereview robert.manuszewski

[CL 2468664 by Steve Robb in Main branch]
2015-03-04 07:33:20 -05:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Graeme Thornton
b7f66f40b8 Change many string replace/compare/find operations which use a fixed case search pattern to be case sensitive. This avoids unnecessary expensive string case operations when searching for things like dots and slashes.
[CL 2425834 by Graeme Thornton in Main branch]
2015-01-30 10:52:42 -05:00
Max Preussner
76041ddff9 Core: code and documentation cleanup pass
[CL 2411556 by Max Preussner in Main branch]
2015-01-19 18:15:30 -05:00
Andrew Rodham
2e22d7b370 Changed implementation of TTypeToString and TTypeFromString to use global namespaced functions instead of explicit template instantiations.
This also removes the default implementations that simply fail assertions at runtime.

[CL 2398619 by Andrew Rodham in Main branch]
2015-01-06 07:29:35 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ben Marsh
f413055dc2 Make CorePrivatePCH.h Core module private PCH instead of Core.h. (Submitted for Mikolaj Sieluzycki due to ObjectVersion.cpp change)
#codereview Robert.Manuszewski, Mikolaj.Sieluzycki

[CL 2332997 by Ben Marsh in Main branch]
2014-10-17 09:52:58 -04:00