This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static TypeDB GetTypeDB(BuildTarget buildTarget) | |
| { | |
| BuildTargetGroup group; | |
| if (!Enum<BuildTargetGroup>.TryParse(buildTarget.ToString(), out group)) | |
| group = BuildTargetGroup.Standalone; | |
| var settings = new ScriptCompilationSettings | |
| { | |
| target = buildTarget, | |
| group = group, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using NUnit.Framework; | |
| using Unity.PerformanceTesting; | |
| [TestFixture] | |
| public class PerfTest | |
| { | |
| [Test, Performance] | |
| public void LambdaOverhead() | |
| { |