Skip to content

pedrodurek/i18n-type-tests

Repository files navigation

i18n Type Tests

This project aims to test the t function from i18n fully type-safe (PR#1193) considering the "worst-case" scenarios. The project contains 3 namespaces (ns1, ns2, ns3), ns1 and ns2 have 1274 keys each and ns3 5099 keys.

Results

Timing to retrieve keys:

N# of keys
ns1 & ns2 2548
ns1 & ns2 & ns3 7647
Timing (ns1 & ns2) Timing (ns1 & ns2 & ns3)
Memory 16GB - 6 Core I7 0.5 ~ 1 sec 2 ~ 3 sec
Memory 8GB - 4 Core I5 0.5 ~ 1 sec 3 sec

About

Project to test the "worst-case" scenarios of i18n fully type feature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published