Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:34

0001 # This was written to benchmark some changes to
0002 # the getByLabel function and supporting code. It makes
0003 # a lot of getByLabel calls although it is not particularly
0004 # realistic in the product list it uses ...
0005 # Not intended for use as unit test because it does not
0006 # test anything not tested elsewhere. Only useful for
0007 # simple benchmark tests.
0008 
0009 import FWCore.ParameterSet.Config as cms
0010 
0011 process = cms.Process("PROD")
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(1000)
0015 )
0016 
0017 process.source = cms.Source("EmptySource")
0018 
0019 process.produceInts = cms.EDProducer("ManyProductProducer",
0020     nProducts = cms.untracked.uint32(1000)
0021 )
0022 
0023 process.getInts = cms.EDAnalyzer("ManyProductAnalyzer",
0024     nProducts = cms.untracked.uint32(1000)
0025 )
0026 
0027 process.path1 = cms.Path(process.produceInts*process.getInts)