public IEnumerator CacheThenNotHitByNotCachedItemMultipleSameInitial() { yield return(CacheMultipleSameInitial()); var hit = Autoya.Persist_HitHash(AutoyaFilePersistTestsFileDomain, "x"); False(hit); yield break; }
public IEnumerator CacheThenHitMultipleSameInitial() { yield return(CacheMultipleSameInitial()); var hit = Autoya.Persist_HitHash(AutoyaFilePersistTestsFileDomain, "h"); True(hit); yield break; }
public IEnumerator HitWithCachedButNotExistMultipleSameInitial() { yield return(CacheMultipleSameInitial()); Autoya.Persist_ClearOnMemoryHashCache(); var hit = Autoya.Persist_HitHash(AutoyaFilePersistTestsFileDomain, "x"); False(hit); yield break; }
public IEnumerator HitWithCached() { yield return(Cache()); Autoya.Persist_ClearOnMemoryHashCache(); var hit = Autoya.Persist_HitHash(AutoyaFilePersistTestsFileDomain, "h"); True(hit); yield break; }
public IEnumerator MassCacheNotHit() { yield return(MassCache()); var s = new Stopwatch(); s.Start(); var hit = Autoya.Persist_HitHash(AutoyaFilePersistTestsFileDomain, "nothing"); s.Stop(); Debug.Log("nohit tick:" + s.ElapsedTicks + " ms:" + s.ElapsedMilliseconds); False(hit); }
public IEnumerator MassCacheHit() { yield return(MassCache()); var s = new Stopwatch(); s.Start(); var hit = Autoya.Persist_HitHash(AutoyaFilePersistTestsFileDomain, "tjtsqwb3fwk04n04nd0pymvq2uc3oyin"); s.Stop(); Debug.Log("hit tick:" + s.ElapsedTicks + " ms:" + s.ElapsedMilliseconds); True(hit); }