This paper presents a performance analysis approach of embedded systems based on the randomized complete block designs.A case study is made of this approach in performance testing of automatic gate machines used in the automatic fare collection system of Shanghai Metro.Embedded systems based on ReWorks,Linux or Windows XPE are used in automatic gate machines.The assessment results show that the approach is helpful and effective.