From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6fAs-0005cC-3L for qemu-devel@nongnu.org; Fri, 24 Jan 2014 06:43:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6fAj-0005h5-H8 for qemu-devel@nongnu.org; Fri, 24 Jan 2014 06:43:50 -0500 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:40191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6fAj-0005gs-9t for qemu-devel@nongnu.org; Fri, 24 Jan 2014 06:43:41 -0500 Received: by mail-ea0-f177.google.com with SMTP id n15so942223ead.36 for ; Fri, 24 Jan 2014 03:43:40 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52E251E8.5020201@redhat.com> Date: Fri, 24 Jan 2014 12:43:36 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1390488396-16538-1-git-send-email-akong@redhat.com> <1390488396-16538-6-git-send-email-akong@redhat.com> In-Reply-To: <1390488396-16538-6-git-send-email-akong@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 5/5] update docs/qmp-full-introspection.txt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong , qemu-devel@nongnu.org Cc: xiawenc@linux.vnet.ibm.com, qiaonuohan@cn.fujitsu.com, mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com Il 23/01/2014 15:46, Amos Kong ha scritto: > +The whole schema information will be returned in one go, it contains > +all the schema entries. It doesn't support to be filtered by type > +or name. Currently it takes about 4 seconds to return about 1.7M string. > +Management only needs to execute this command once after installing > +QEMU package. > + This is quite a lot. Without comments, qapi-schema.json is 27k. I'd expect the DataObject representation to be in the ballpark of 100-200k. I don't understand why is it necessary to expand all the types in the result? Paolo